Mini arcade is a project running old school games writen in python using pygame. There are 3 games currently in the arcade:
- Snake
- Pong
- Whackman (inspired by Pacman)
To be able to successfully launch this project you need to have installed python 3.7.1, link below. It is also very handy to have git installed to be able to follow the instructions below exactly.
The first step is to make sure that python is installed on your system, python 3.7.1 was used for this project. Follow the link above and choose the correct version for you OS. Make sure use python 3. The game has not been tested on python 2.
Next make sure you have the newest version of pip:
python3 -m pip install --upgrade pip
orpython -m pip install --upgrade pip
Next you need to install pygame, this can be done with the following command. Make sure to install the version we used for maximum stability pygame 1.9.4. The game will probably not run with other versions of pygame because of gfxdraw:
python3 -m pip install -U pygame==1.9.4 --user
orpython -m pip install -U pygame==1.9.4 --user
Further information about python or pygame can be found in the links above.
Next you need to clone the repo. Open a terminal and manouver into the appropriate directory and enter the following command:
git clone https://github.com/brynjarorng/Pythonic_Group_Project
Now that everything is setup, using the terminal, navigate into Pythonic_Group_Project and run this command to play the game:
python3 ./menu.py
orpython ./menu.py
In snake you use the arrow keys to control a green snake. The objective is to eat the red apples that spawn at random places on the map, a new one will spawn as soon as you eat an apple. If the snake collides with either the outer edges of the game or if collides with itself, the game i over.
A two player game where player use the arrow keys and WASD to control paddles on either side of the screen. A ball will spawn in the middle and travel to the sides. The objective of the game is to use the paddles to send the ball to the edge of the screen on your opponents side to gain a point. There is no win condition, players can play a single game as long as they like.
A game based on classical pacman. This version is a two player game where the objective is to collect as many points before the players three lives are over. Use use the arrow keys and WASD to travel and avoid the ghosts. There are four ghosts in total, two of which move randomly across the map. The other two ghosts are powered by an A.I. and try to follow the player. The player compete to collect as many coins as they can, when all coins have been collected on a map, the next level will start and the ghosts will speed up. The players have 3 lives and every time a ghost catches a player he will loose one of them. When a player looses a life, but has an extra, he will respawn. But not until the other player dies or the next level starts. When both player die and are out of extra lives, the game is over.
Sound - Biting into apple
- Title: crunch.wav
- Author: Koops
- Source: (https://freesound.org/people/Koops/sounds/20279/)
- License: (https://creativecommons.org/licenses/by/3.0/)
Sound - Ball collision
- Title: PongBlipF4.wav
- Author: NoiseCollector
- Source: (https://freesound.org/people/NoiseCollector/sounds/4359/)
- License: (https://creativecommons.org/licenses/by/3.0/)
Image - Player lives
- Title: heart.png
- Author: DontMind8
- Source: (https://opengameart.org/content/heart-pixel-art)
- License: "You can use the art commercially, You can modify or edit the art as you like"
Image - Player sprite
- Title: Animated Runner Character
- Author: irmirx
- Source: (https://opengameart.org/content/animated-runner-character?fbclid=IwAR3qteWqwyistdS2naXSn0ftotw_abGMhEjsGft2b9t--GaD1VlkXG7AoeQ)
- License: (https://creativecommons.org/licenses/by/3.0/)
Image - Ghost sprite
- Title: ghost[1-4].png
- Author: XenosNS
- Source: (https://opengameart.org/content/animated-blue-ghost)
- License: None
Font - Used for all games and menues
- Title: Minotaur.ttf
- Author: Walter Velez
- Source: (https://www.fontsquirrel.com/fonts/Minotaur)
- License: (https://www.fontsquirrel.com/license/Minotaur)