A modern desktop game built with Python, Kivy, and KivyMD. This project delivers a simple and polished Rock Paper Scissors experience where players compete against an AI opponent in a clean graphical interface.
Rock Paper Scissors is a classic hand game played between two opponents. In this application, the player selects one of three moves—rock, paper, or scissors—and the AI responds randomly. The results are displayed instantly, and the score is updated after each round.
- Clean and responsive user interface
- Three gameplay options: Rock, Paper, and Scissors
- Real-time round results
- Score tracking for both the player and the AI
- Modular structure for easy maintenance and future expansion
- main.py - Application entry point
- controller/game_logic/rock_game.py - Game logic and scoring
- view/screens/main.kv - UI layout built with Kivy/KivyMD
The project uses the following main dependencies:
- Python 3.10+
- Kivy
- KivyMD
Install them using:
pip install -r requirements.txt-
Clone the repository:
git clone https://github.com/Alexashok99/RockGameApp-kivymd-.git cd RockGame -
Create and activate a virtual environment (recommended):
python -m venv .venv .venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
Start the application with:
python main.pyThe game window will open, and you can begin playing immediately.
- Click one of the buttons labeled Rock, Paper, or Scissors.
- The AI will make a move automatically.
- The result of the round will be displayed on screen.
- The score will update after every round.
This project is open-source and available for educational and personal use.