How to build this game?
Viewing post in lispmoo2 jam comments
Now when you say "build" and "game"
alright I accept that I submitted this game to a game jam so we better do it
It's common lisp.
- 1. apt install sbcl or w/e
- download and verify (sha256 or w/e) https://www.quicklisp.org/beta/ 's https://beta.quicklisp.org/quicklisp.lisp
- It says beta but it's not thaat beta
- sbcl --load quicklisp.lisp and follow the prompt
- git clone (or download/extract) int ~/quicklisp/local-projects/ :
- Good work so far
- $ sbcl
- > (ql:quickload :lispmoo2/main)
- > (in-package :lispmoo2/main)
- I forgot, need to do > (define-game) ; here
- You could (setq *player* 'my-name-instead) ; first if you wanted to
- > { north
- > x
- > { west
- > x
- > { @take gold-ring
- x
- { east
- x
- { @give gold-ring :to distressed-princess
- x
And that's pretty much it. The thing is, the moo substrate for the game works really well so you can ignore the above "game" and do something better
- { @create $room :named my-way-better-room
- x
- (push *player* (get 'my-way-better-room :inhabitants))
- @create $thing :named incredible-sword
and just make your own better game / or improve my game ;p