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.
