Question: Introduction Write a MIPS program to allow a user to play a simple variation of the game BINGO. Your program should display the following game










Introduction Write a MIPS program to allow a user to play a simple variation of the game BINGO. Your program should display the following game board and the player wants to choose a location to mark BINGO A position can be marked by entering its column letter (eit B', 'I', 'N' 'G', or CO and row number (either 1, 2, 3, 4, or 5). An 'X' should mark the positions already marked. An underscore, e C 1 should represent unmarked positions BING O 4 X After the player chooses a position, the game board should be updated and displayed. If the player chooses a position that was previously marked, display an appropriate error message. If the player chooses an invalid position, display an appropriate error message. The program should continue running until a sentinel value of Q is entered to end the game. Once the player enters Q', display a message indicating whether or not the player won. A winning board contains either a horizontal, vertical, or diagonal line of 5 marked positions. You must check for horizontal and vertical winner configurations checking for diagonal winning boards is optional
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
