Arcade Games written in a Shell Script

Yes, it is perfectly possible. Do watch this YouTube Video

Space Game

Space Game

Space Invaders – written entirely in the Bash shell, in a 248-line shell script.

The shell is often seen as old hat, hard to use, green screens and no interaction. In my new book, Shell Scripting (, I attempt to throw a new perspective on this; the shell can be used in lots of creative and imaginative ways.

The book also covers creating CSV files to easily plot complex data in spreadsheets, creating HTML as well as parsing HTML documents; I plan to post more updates before its launch on 12th August 2011.

Shell Scripting by Steve Parker. ISBN 1118024486

You can get the code for the game here. The description and explanation is in the book, of course. But at least the code itself is available online for inspection.

4 Responses to Arcade Games written in a Shell Script

  1. Acid Plasm says:

    Let it never be said that shell scripting isn’t functional. If you can make games you can do anything…right? Thanks for the link to the code

    Great post.

  2. jayeola says:

    Do you mind if I create a repo on github for Thanks for posting the code.

  3. kanimozhi says:

    thanks for code

  4. I made a game in shell script too, maybe you would be interested.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: