Skip to content

brynjarorng/Pythonic_Group_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Arcade

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)

Developers

  • Brynjar Örn Grétarsson - brynjarog17 - github
  • Daði Steinn Brynjarsson - dadib17 - github

prerequisites

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.

Built with

Installation

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 or
  • python -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 or
  • python -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 or
  • python ./menu.py

How to play

Snake

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.

Pong

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.

Whackman

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.

Game assets

Snake

Sound - Biting into apple

Pong

Sound - Ball collision

Whackman

Image - Player lives

Image - Player sprite

Image - Ghost sprite

Global

Font - Used for all games and menues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages