Adventure of a boy with the benatar.
--------------------------------------------- | --------------------------------------------- |
Follow the below video link to see how I fared on The benatar space game
Button | |
---|---|
Move Left | a |
Move right | d |
Move top | w |
Move down | s |
Fire bullets | spacebar |
Quit game | q |
- Health bar for the space ship
- Score board to show how you are faring so far
- Multiple type alien
- 5 lives per game
- Fun to play :)
- Download the prebuilt zip file and unzip it.
- Run the executable named
benatar
inside the extracted file.
- Download the latest zip file for linux
- Unzip the file
If your download was saved on the ~/Downloads
folder
Press Ctrl + Alt + T to open the shell if you are on GNU/Linux
based systems and type
$ unzip ~/Downloads/benatar-0.0.3.Linux.zip -d ~/Desktop
$ cd ~/Desktop
$ ## navigate to the unzipped file and change the file permissions for the executable
~/Desktop $ chmod +x benatar
~/Desktop $ ./benatar
This will unzip the file on your Desktop
, you can replace it with the directory of your choice
NOTE : If it gives you an error, you probably don't have unzip
installed in your system.
$ sudo apt-get install unzip
That should fix the error.
- Run the executable named
benatar
A Similar process would be followed for OS X
You need to have pygame
installed for this option.
$ git clone https://github.com/Devesh-code/The-Benatar-space-game.git
$ cd The-Benatar-space-game/
$ chmod +x benatar.py
$ python benatar.py
$ sudo apt-get install python-pygame
$ git clone https://github.com/Devesh-code/The-Benatar-space-game.git
$ cd The-Benatar-space-game/
$ python benatar.py