Asteroids game in Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 10 commits behind andyhd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



A simple Asteroids clone, inspired by Square Shooter by No Time To Play, but written in Common Lisp with Lispbuilder-SDL.


I'm learning Common Lisp this year, and it seemed like a fun project. It was.

Why are the first three letters of ASTeroids capitalized?

It's a pun on Abstract Syntax Tree - which Lisp essentially is. Sorry.

How do I play it?

I'm afraid you'll need to install Steel Bank Common Lisp and the Quicklisp package tool, which is pretty easy, and then set up Lispbuilder-SDL, which is not. I will write about how I got everything set up on OSX Lion soon.

Assuming you have everything installed, you can simply start SBCL and (load "asteroids.lisp") and then call (asteroids:main) from the REPL.

The game is mouse controlled.

What does it look like?

A bit rubbish, really. Next steps are learning some OpenGL to make it a bit prettier.

ASTeroids screenshot