PengDuel is a web-based two-player penguin fighting game built using Flask and JavaScript with HTML5 Canvas.
- Single-player mode against AI
- Two-player mode
- Power-ups and obstacles
- Leaderboard to track wins
- Customizable game constants
- Python 3.7+
- pip (Python package manager)
- Clone the repository:
git clone https://github.com/redlynx101/pengduel.git cd pengduel
To run the application in development mode:
python main.py
The application will be available at http://localhost:5000
.
For production deployment, I recommend using Gunicorn as the WSGI server:
-
Install Gunicorn:
pip install gunicorn
-
Run the application:
gunicorn -w 4 -b 0.0.0.0:5000 main:app
This command starts 4 worker processes and binds the application to all network interfaces on port 5000.
This application is ready for deployment on platforms like Heroku, AWS, or DigitalOcean. Make sure to set the necessary environment variables on your deployment platform.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.