Skip to content
This repository

The classic game of Sokoban, in Common Lisp

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 CONTRIBUTORS
Octocat-spinner-32 COPYING
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 cl-sokoban.el.in
Octocat-spinner-32 ecl-make.lisp
Octocat-spinner-32 el-soko.lisp
Octocat-spinner-32 levels
Octocat-spinner-32 levels.lisp
Octocat-spinner-32 raw-ui.lisp
Octocat-spinner-32 sokoban-raw-ui.asd
Octocat-spinner-32 sokoban.lisp
README
At present there are two (plus one, described below) user interfaces:

  1. 'make raw-ui'
      an ECL-built executable that assumes a unix terminal
  2. 'make cl-sokoban.el'
      an Emacs mode that tells SLIME to load the CL, etc.

Implementation notes:

* ABCL, slow with #2
* ECL, #1 requires at least version 8.12.0


$ ecl  # or sbcl, abcl
...
> (load "sokoban.lisp")
...
> (load "levels.lisp")
...
> (sokoban:simple-ui)

    #####          
    #   #          
    #$  #          
  ###  $##         
  #  $ $ #         
### # ## #   ######
#   # ## #####  ..#
# $  $          ..#
##### ### #@##  ..#
    #     #########
    #######        

type any of 'n e w s' and hit RET to move; q to quit.

You are not expected to play the game like this :-)
Something went wrong with that request. Please try again.