Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a hangman game in MIPS MARS Assembly language. Hangman is a word guessing game by guessing a letter to figure out the word. After

Create a hangman game in MIPS MARS Assembly language. Hangman is a word guessing game by guessing a letter to figure out the word. After 6 incorrect guesses (head, body, left arm, right arm, left leg, and right leg) the man is hung and the game is over. Begin by inputting a word. Then have the user guess a letter. If the letter is correct, display the letter in the word. For example, if the word is horse then the word would show us as _ _ _ _ _ and if the user guessed letter "r" it would then display _ _ r _ _. If the user guesses an incorrect letter, have a head show up. For the second incorrect guess, have the body show up, for the third incorrect guess, have the left arm appear. For the fourth incorrect guess, show the right arm, then the left leg, and then the right leg for the sixth and last incorrect guess. When there has been 6 incorrect guesses, the game is over.

The body should look something like:

____________

l/ l

l 0

l \l/

l /\

l

l_________

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 23rd European Conference Adbis 2019 Bled Slovenia September 8 11 2019 Proceedings Lncs 11695

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Aida Kamisalic Latific

1st Edition

3030287297, 978-3030287290

More Books

Students also viewed these Databases questions

Question

Practice the three Cs (Competence, Courtesy and Consideration).

Answered: 1 week ago

Question

8. Design office space to facilitate interaction between employees.

Answered: 1 week ago