Arcade Games written in a Shell Script

Yes, it is perfectly possible. Do watch this YouTube Video
http://www.youtube.com/watch?v=WNPm3aKzPdg

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 (http://facebook.com/shellscript), 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

http://amzn.com/1118024486
http://facebook.com/shellscript
http://sgpit.com/book

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.

About these ads

3 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 space.sh? Thanks for posting the code.

  3. kanimozhi says:

    thanks for code

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: