You are the commander of a rebel encampment under seige by imperial forces. Use your turrets to repel enemy missiles and ships. If you destroy all enemy ships, you move to the next level. If you run out of ammo or your bunkers are destroyed, you lose the game.
Move your cursor with the arrow keys. Use a
to fire from the first bunker, s
to fire from the second bunker, d
to fire from the third, and so on.
Missile Command is classic arcade game developed by Atari. Using inspiration from a talk on Gosu, I threw together a version written in Ruby.
When a turrey is struck by a missile, it is destroyed and all remaining ammunition there is depleted. If you run out of ammo and there are still enemies, you lose.
A ragtag group of rebels will sometimes fly X-Wings, Y-Wings, and A-Wings. They will attempt to repel the oncoming assault but are vulnerable to enemy missiles.
Basic enemy ships. One hit to kill.
Stronger enemies. Takes several hits to kill.
Takes many hits to kill.
-
Open
Applications > Utilities > Terminal
and copy/paste the following.
cd ~/Downloads
gunzip missile_command.tar.gz
tar xvf missile_command.tar
rm missile_command.tar
cd missile_command
./install
- Now and in the future, you can type
missile
in the terminal to launch the game.
git clone [email protected]:mzemel/missile_command.git
cd missile_command
./install
If you want, you can build your own levels by modifying the YAML files in the config/
directory.
# config/easy.yml
1:
spaceships:
number: 3
height: high # Height: "high", "medium", "low"
# DEFAULT: "high"
mode: easy # Speed: "easy", "medium", "hard"
# DEFAULT: "easy"
weapons: easy # Firing rate: false, "easy", "medium", "hard", "insane"
# DEFAULT: false
health: easy # Health: "low", "medium", "high"
# DEFAULT: "low"
battleships:
# Same as above
fortresses:
# Same as above
bunkers:
number: 1
ammo: 10 # Ammo: <<FIXNUM>>
# DEFAULT: 10
health: medium # Health: "low", "medium", "high"
# DEFAULT: "low"
defenders:
# Same as spaceships/battleships/fortresses
planet: yavin_4 # Planet: "yavin_4", "tatooine", "hoth", "naboo", "endor"
music: main_theme_1.mp3 # Music
Thanks to Cory Chamblin for giving the talk at RubyConf.
Thanks to Atari and LucasArts for not suing me.
- Gosu Tutorial
- PikoPixel
- OpenGameArt
- Free Sound Project