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

  Create program that uses functions and reference parameters

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

  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 the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

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

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  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.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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