Coinport is an engaging 2D game created using the Pygame library in Python. In this game, the player moves horizontally to collect coins and avoid falling monsters. If the player touches a monster, the game is over!
In Coinport, you control a character that can move left and right using the arrow keys. The objective is to collect as many coins as possible while avoiding monsters that fall from the sky. If a monster touches the player, it's game over.
- Ensure you have Python installed. If not, download and install it from python.org.
- Install the Pygame library by running the following command:
pip install pygame
- Clone this repository or download the source code:
git clone https://github.com/OfficialAlok/coinport.git cd coinport
To start the game, navigate to the directory where the game files are located and run:
python main.py
- Key A: Move left
- Key D: Move right
You can select the difficulty level at the start of the game:
- Press
1
for Easy - Press
2
for Medium - Press
3
for Hard