Question: In MIPSym, assembly language Deal the cards face down. Add a polling loop at the beginning of your main program to request the character for
In MIPSym, assembly language
Deal the cards face down.
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.
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.
Add a polling loop at the end of initializations in main to wait for mouse clicks.
Add card.click() method. Using a global (static) state variable, and two global (static) card pointers, implement this state machine:
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
