CS 501 - The Guess The Word Game In An Object Oriented Manner - IT/Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task

General Instructions

In this assignment, you will be implementing the ‘Guess the Word’ game in an object-oriented manner. This program would involve some basic manipulation of strings/char array and files– reading, writing, comparing. The driver program is given to you and you are NOT allowed to change it. Hence, the obvious overloaded operators will be input >> and output << which need to be implemented.

Specific Instructions

This assignment should be written as a modular C++ program. You will develop a class (module) called GuessTheWord, with header (.h) and implementation (.cpp) files. The main program should be in its own module, and is given to you.

The game starts by loading the dictionary from an input file. The program then randomly picks a word from the dictionary and displays the appropriate number of dashes along with an initial clue. The player will be given word length + 3 extra attempts to guess the word correctly. As soon as the player enters a character (which should be considered case insensitive), if found in the word it will be updated at all the occurrences.

To summarize the steps:

1. Load the dictionary of words from a user specified input file if not the default file. (A sample dictionary is given; a ‘bigger’ dictionary would be available for the demo)

2. The word to be guessed should be chosen randomly from the dictionary.
3. Display the partial word with appropriate number of dashes.

4. Read user input and display corresponding result.
5. Repeat 3 and 4 until done

6. Get user choice to continue/ stop playing.

Programming concepts that are expected in the solution:
1. Object oriented modular solution

2. File IO and string operations
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.

 

This CS 501 IT/Computer Science Assignment has been solved by our IT/Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.