This module allows a user to play Rock, Paper, Scissors against a "learning" computer opponent. The computer's strategy revolves around targeting the player's most defeated move, with a slight random twist to introduce unpredictability.
- Start the game by running the Python script.
- Follow the on-screen instructions:
- Press 'R' for Rock.
- Press 'P' for Paper.
- Press 'S' for Scissors.
- Press 'Q' to Quit.
-
Dynamic Computer Opponent: The computer opponent tries to "learn" from your previous moves, predicting what you might play next based on your most frequently defeated move.
-
Colorful Terminal Output: Thanks to the
colorama
package, the game has a colorful terminal output that enhances the user experience. -
ASCII Art Representation: Each move (rock, paper, or scissors) is visually represented with ASCII art, making the game more immersive.
- Python 3.x
colorama
package. Install it usingpip install colorama