Welcome to "Build The Cake", a fun and interactive game built with Pygame!
Before playing the game, ensure that you have Python and Pygame installed on your machine. Follow the steps below:
-
Windows:
- Download Python from python.org.
- During installation, make sure to check the box that says "Add Python to PATH."
-
Linux:
- Use your package manager to install Python.
sudo apt update sudo apt install python3
- Use your package manager to install Python.
-
macOS:
- Python is usually pre-installed. If not, you can use Homebrew to install it.
brew install python
- Python is usually pre-installed. If not, you can use Homebrew to install it.
-
Windows:
-
Python on Windows usually comes with
pip
. Open Command Prompt and run:pip --version
-
If
pip
is not installed, downloadget-pip.py
from https://bootstrap.pypa.io/get-pip.py and run:python get-pip.py
-
-
Linux:
- Most Linux distributions come with Python and
pip
. Verify with:python3 --version pip3 --version
- Most Linux distributions come with Python and
-
macOS:
- Check Python and pip versions:
python3 --version pip3 --version
- Check Python and pip versions:
-
Download the Repository: Either download ZIP
- Click the green "Code" button on the GitHub repository page.
- Select "Download ZIP."
- Extract the downloaded ZIP file to a location of your choice. Or clone the repo
git clone git@github.com:khanhdo05/SEO-project.git
-
Navigate to the Game Directory.
-
Install Pygame:
pip3 install pygame
-
Run the Game:
python3 main.py
- Turn on sounds for an enhanced experience.
- Use the left and right arrow keys to move the player character.
- Catch the ingredients to BUILD THE CAKE!
- Avoid foul objects to prevent losing stars. Each foul object worth half a star.
- Avoid the snail to prevent losing 1 whole star and getting slowed down.
- Catch the soda can to enjoy a moment of speed up!
- Pause the game by pressing the space key.
- If you run out of stars (you have 5) or time (2 minutes), the game is over.
- You win when you reach 5 points and have at least 3 stars left.
- When the game ends, click ENTER to play again or ESC / Q at any time to quit.
Have fun playing "BUILD THE CAKE"!