Evade is a simple and fun game built with Python and Pygame. The goal of the game is to avoid the red blocks while controlling a white square. You can also collect green power-ups to shrink your size and make the game easier.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Python3.
- You have a Linux or Mac machine. This code may work on Windows machines, but it's not guaranteed.
To install Evade, follow these steps:
-
Clone the repository:
git clone https://github.com/ComputerTech312/evade.git
-
Navigate to the cloned repository:
cd evade
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required package (Pygame):
pip install pygame
To run Evade, follow these steps:
python3 evade.py
key | mouse | |
---|---|---|
start new game | ↑ | click Start button |
move left | ← | |
move right | → | |
move up | ↑ | |
move down | ↓ |