Welcome to the Rock Paper Scissors game built using Python Django! This project is a Work in Progress (WIP) with exciting features planned for future updates. Stay tuned! ๐
This game is designed for beginners who want to explore Django concepts while working on a fun project! , this project aims to introduce important backend concepts, including:
โ
Database Authentication
โ
Leaderboard System
โ
Kafka Event Streaming
โ
Redis Caching
โ
Real-time Multiplayer Mode
โ
AI Opponent & Difficulty Levels
- ๐ฎ Classic Rock Paper Scissors Gameplay
- ๐ฅ Lottie Animations for Smooth Visuals
- ๐ฐ Betting System for a Competitive Edge
- ๐จ Modern UI/UX with Dark Gradient Theme
- ๐ Basic Score Tracking
- ๐ก๏ธ User Authentication (Login/Signup)
- ๐ Leaderboard for Competitive Ranking
- โก Kafka Integration for Event Handling
- โก Redis Caching for Performance Boost
- ๐ Match History & Statistics Tracking
- ๐ง AI Opponent with Adaptive Strategies
- ๐ Multiplayer Mode with Real-time Updates
rock-paper-scissors/
โโโ rps_game/ # Main Django app
โ โโโ migrations/ # Database migrations
โ โโโ static/ # Static files (CSS, JS, images)
โ โ โโโ css/ # Stylesheets
โ โ โโโ js/ # JavaScript logic
โ โ โโโ images/ # Game assets
โ โโโ templates/ # HTML templates
โ โ โโโ base.html # Base template
โ โ โโโ game.html # Main game UI
โ โโโ views.py # Game logic and API endpoints
โ โโโ urls.py # URL routing
โ โโโ models.py # Database models (To be added)
โ โโโ forms.py # Django forms (Future feature)
โ
โโโ env/ # Virtual environment (Recommended)
โ โโโ bin/ # Executables and scripts
โ โโโ lib/ # Installed Python libraries
โ โโโ include/ # Header files
โ
โโโ db.sqlite3 # SQLite database (Temporary for development)
โโโ manage.py # Django management script
โโโ requirements.txt # Dependencies list
โโโ README.md # Project documentation
git clone https://github.com/gaju91/python-django-rps.git
cd python-django-rpspython -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`pip install -r requirements.txtpython manage.py migratepython manage.py runserverVisit http://127.0.0.1:8000/ to play the game! ๐ฎ
- ๐ Official Django Documentation
- ๐ Django Girls Tutorial
- ๐ Python Virtual Environments Guide
- ๐ Lottie Animation Library
Contributions are welcome! Feel free to fork the repository, submit pull requests, or suggest new features in the issues section. ๐
This project is licensed under the MIT License.
