Home

I downloaded this game some time ago but I couldn’t make it work on my Raspberry Pi; finally I did it (see below). You can find it here.

zombies

Playing this game on a Raspberry Pi

In order to play this game on my Raspberry Pi, I had to install Clozure Common Lisp as explained there. Then I decided to edit the source code of the game and to replace the following lines:

(defun get-input-char ()
  (system::input-character-char
   (EXT:with-keyboard (read-char EXT:*keyboard-input*))))

with:

(defun get-input-char () (read-char))

Then I launch the game with the following command:

stty raw -echo opost && ccl -l zombie_hack.lisp ; stty -raw echo

(where ccl is the name of my Clozure Common Lisp executable).

Advertisements

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