#Groovy Space Invaders
https://github.com/downloads/sjhorn/SpaceInvaders/SpaceInvaders_1.0.jar
https://github.com/sjhorn/SpaceInvaders/releases/download/1.1/SpaceInvaders_1.1.dmg
java -XstartOnFirstThread -jar SpaceInvaders.jar
Download the dmg file above.
Double click to mount the dmg
Drag the SpaceInvaders icon into the Application Folder
###Player 1:
space - fire
left key - left
right key - right
###Player 2:
f - fire
g - left
j - right
1 - Restart in one player mode(default).
2 - Restart in two player mode.
3 - Toggle AI for Player 1.
4 - Toggle invincible bullets.
x - Destroy all invaders (for testing and humour)
###Build Clone the repo and run the following:
ant build
###Run source
ant run
###Package into runnable jar
ant package
This jar is then available in the dist/SpaceInvaders.jar
file. This can be run on most OSX, Linux and Windows using
java -XstartOnFirstThread -jar SpaceInvaders.jar
On linux and windows you should be able to double click that jar