Question: Write a program in MIPS assembly language. For each game, the program randomly selects a WORD from a list of eligible words (i.e. must have
Write a program in MIPS assembly language.
For each game, the program randomly selects a WORD from a list of eligible words (i.e. must have 4 non-repeated letters and is a meaningful English word, e.g. WORD, CALF, VERB, DUCK, etc...). Teams can write a program in a high-level language to generate the list of words to be used for the project from a dictionary. The list must have a minimum of 100 different words. The program must display the guess number, 'Guess' and 'Result' similar to the one shown on the Wikipedia page, but obviously the 'Guess' must be a word and replace the result with something likes '0 Bull and 1 Cow' instead of 0A1B. Allow the user to give up and display the word so that the user can see what it was. If the user correctly guesses the word, display the time spent. An error message is displayed to explain the rule that was violated if a input by the user was not valid, e.g. input a word that is not 4 letters, or a word that has repeated letters.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
