Implementnbsp the lsquoguess the word game in an

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

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: EM13347570

Questions Cloud

Question 1 a firm with market power has estimated the : question 1 a firm with market power has estimated the following demand function for its productq 12000 - 4000 pwhere p
Write a program that allows interactive manipulation of the : write a program that allows interactive manipulation of the position and orientation of a camera. prepare a teapot at
Charge is distributed with constant volume density d : charge is distributed with constant volume density d throughout the rectangular box with length a width b and height
1 tree map for why do science2 bubble map for empirical : 1 tree map for why do science?2 bubble map for empirical evidence3 double bubble map for scientific theory and
Implementnbsp the lsquoguess the word game in an : implementnbsp the lsquoguess the word game in an object-oriented manner. this program would add some basic manipulation
Write an essay on lockes theory of meaning question based : write an essay on lockes theory of meaning question based on essayexplain lockes theory of how words have meaning.what
1 on april 2 lana executed a contract to sell her office : 1. on april 2 lana executed a contract to sell her office building to swanky realty inc. for 1000000. the transaction
Prepare a marymount faculty site and you have each been : prepare a marymount faculty site and you have each been provided a professor to profile.nbsp you have to use html5 and
American society in the making1who principally shaped life : american society in the making1.who principally shaped life in spanish north america?2.what were the three regions of

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