Skip to content

Its a 1-2 player game where you, as a penguin, push your opponent off of an iceberg to win the game. Play in the browser if the link works.

Notifications You must be signed in to change notification settings

RedLynx101/PengDuel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PengDuel

PengDuel is a web-based two-player penguin fighting game built using Flask and JavaScript with HTML5 Canvas.

Features

  • Single-player mode against AI
  • Two-player mode
  • Power-ups and obstacles
  • Leaderboard to track wins
  • Customizable game constants

Prerequisites

  • Python 3.7+
  • pip (Python package manager)

Installation

  1. Clone the repository:
    git clone https://github.com/redlynx101/pengduel.git
    cd pengduel
    

Running the Application

Development

To run the application in development mode:

python main.py

The application will be available at http://localhost:5000.

Production

For production deployment, I recommend using Gunicorn as the WSGI server:

  1. Install Gunicorn:

    pip install gunicorn
    
  2. 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.

Deployment

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.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Its a 1-2 player game where you, as a penguin, push your opponent off of an iceberg to win the game. Play in the browser if the link works.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published