Question: Make a MIPS Assembly Language program that: 1.Deal the cards face down. 2.Add a polling loop at the beginning of your main program to request
Make a MIPS Assembly Language program that:
1.Deal the cards face down.
2.Add a polling loop at the beginning of your main program to request the character for the level of difficulty. (this will randomize the syscall random.
3.create a map structure to map mouse click co-ordinates to cards. Initialize it to NULL pointers, and then fill it with card pointers as you create the cards.
4.Add a polling loop at the end of initializations in main to wait for mouse clicks.
5.Add card.click() method. Using a global (static) state variable, and two global (static) card pointers, implement this state machine:
6.Plus-Plus on the state diagram indicated that a card reveal will increment the turn-counter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
