Question: Please answer in C++ Write an SDL game in which the background colour is randomly chosen from these colours: red, green, blue, yellow, or white.
Please answer in C++
-
-
Write an SDL game in which the background colour is randomly chosen from these colours: red, green, blue, yellow, or white. The player reacts and presses the key corresponding to the first letter of the background colour (R, G, B, Y, or W), and another random colour is displayed. If the user presses a wrong key, the game is over and a game-over message (a .bmp image) is displayed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
