Implement the guess the word

Assignment Help C/C++ Programming
Reference no: EM131503

Implement  the ‘Guess the Word' game in an object-oriented manner. This program would add some basic manipulation of strings - reading, comparing, writing, finding the length, etc.

Instructions

Prepare a program that implements the ‘Guess the Word' game. The game could have five levels. Each level would need the player to guess four words correctly before moving to the next level. The game could become more challenging with each passing level. The data in input file comes in 3 parts delimited by the ‘#' character. The first set are the hardest words, the second medium complexity and third the ‘easy' ones. So one possibility is for the first two levels you would use the ‘easy' words, for the next two levels selects the word to be guessed from the second category and for the last level choose from the ‘hardest' words. To distinguish between the two levels using words from same category, one would show three characters and leave the rest to be guessed while the other displays only two characters; or, the easier level could show the first char as one of the characters shown (it is easier to guess the word when you know the first character). The rules you choose are up to you but you need to distinguish between the five levels. Each level should be scored separately and the scored added to the cumulative score when the level ends or the game ends. The game starts with asking the player for his/her name and ends with displaying the final information.

To summarize the steps:

1. Load the dictionaries of words from a user specified file.

2. The word to be guessed should be chosen randomly from the appropriate category.

3. Display the partial word with appropriate number of dashes.

4. Read user input and display corresponding result.

5. Get user choice to continue/ stop playing.

6. Output should go both to the screen and an output file

Programming concepts that are expected in the solution:

1. Object oriented modular solution

2. File input and output

3. Use of selection and repetition constructs

4. Use of random function

5. The class used should have constructors and overloaded input and output operators.

Reference no: EM131503

Questions Cloud

Explain whether the firm will make economic profit : Explain whether the firm will make economic profit, In the short run and In the long run.
Draw a teapot at the global origin : Draw a teapot at the global origin
What is the dipole contribution to the scalar potential : Charge is distributed with constant volume density D throughout the rectangular box with length a, width b and height c.
Chemical equations illustrating chemical changes : BUBBLE MAP for EMPIRICAL EVIDENCE
Implement the guess the word : Implement  the ‘Guess the Word' game in an object-oriented manner
Write an essay on locke''s theory of meaning : Write an essay on Locke's theory of meaning
Explain include authority and reasoning : Explain the problem with authority and resoning
Prepare a marymount faculty site : Prepare a Marymount faculty site
American society in the making : American Society in the Making

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Develop a basic temperature class

You have to develop a basic temperature class

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Loops and if conditions

Write a program that requests a password

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write the code

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Structured programming using procedural languages

A a program that is called "Playing with Numbers or Letters".

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write two short c programs and solve exam-style problem

Write two short C programs and solve four exam-style problems.

  Write a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd