Made by : Me, it was my first program.
Requested by: Dr. Mohammed El-Ramly in CS course.
This is a simple memory game implemented in Python. The game requires two players to take turns and match pairs of numbers and letters. The player with the highest score at the end of the game wins.
- The game consists of a sequence of numbers from 1 to 20, along with a corresponding set of letters.
- The numbers and letters are randomly shuffled.
- Each player takes turns to select two numbers from the sequence.
- The corresponding letters of the selected numbers are revealed.
- If the letters match, the player earns a point, and the matched numbers are replaced with an asterisk (*).
- If the letters do not match, no points are awarded.
- The game continues until all 20 numbers have been matched.
- At the end of the game, the player with the highest score is declared the winner.
1- Run the code using a Python interpreter.
2- The game starts with Player 1's turn.
3- Follow the on-screen prompts to enter the first and second numbers to reveal their letters.
4- The letters will be displayed for 5 seconds before clearing the screen.
5- The game will automatically switch to Player 2's turn.
6- Repeat steps 3-5 until all 20 numbers have been matched.
7- The final scores and the winner will be displayed after the game ends.