Skip to content

isntlee/Arkanoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arkanoid

Play a game or two on this homemade Atari arkanoid/breakout clone

Features

  • Paddle and a ball where the ball can destroy the bricks in a wall
  • Simple level and scoring system
  • 5 lives initially and 1 life is lost when the ball touches the bottom of the screen
  • Game is played with the arrow keys, it ends when lives reach 0

Requirements

  • Created on Python 3.8
  • Created using Python library - PyGame

Installing instructions for Windows 10

Python 3.8

  1. Locate the appropriate version of Python here:
  1. Add the file to a known directory of your choice and execute the file. ((C:) drive most accessible)

  2. Run the command prompt and access the directory you chose in the previous step.

  3. Type python in to the terminal to check your version.

PyGame

  1. Locate the appropriate version of PyGame here:
  1. Copy the PyGame file into the same directory as the Arkanoid game and access this directory in the command prompt, then enter:
python3 -m pip install pygame

Usage

Running the game

Access the directory of the Arkanoid file through the command prompt and simply execute by typing:

python3 arkanoid.py

or

  1. Load python files into a python IDE (easiest with PyCharm) with pygame installed

  2. To start the game, run:

arkanoid.py

Components

See the relevant files for more detailed annotations. My project is made up of:

  • arkanoid.py - Executable code to run the game is located here
  • images - Contains the png images used as the paddle, ball and bricks.

Exiting the game

You can exit the game by clicking the 'X' button at the top right, or you can press 'Q' at anytime.

Testing

When building this game I wasn't familar with any means of unit-testing PyGame, and so I resorted to manual testing. Through a relatively laborious process I ironed out as many bugs as I could find. I was sure the game was solid.

Preview

About

A breakout clone built with Pygame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages