LFE Documentation Site
Casting SPELs in Lisp
Introduction
1.
Title Page
2.
Copyright Page
3.
Getting Started
3.1.
Getting Set Up
3.2.
Syntax and Semantics
4.
Introducing the Game
4.1.
Lay of the Land
4.2.
Introducing Functions
5.
Getting Functional
5.1.
Global State
5.2.
A Non-global Alternative
5.3.
The Functional Programming Style
6.
Game World Data
6.1.
Organizing Things with Records
6.2.
Making the Game State
6.3.
Records Functions
7.
Looking Around in our Game World
7.1.
Location, Location, Location
7.2.
Thinking in Patterns
7.3.
Exits
7.4.
Finding Things
7.5.
Putting These Pieces Together
8.
Casting SPELs
8.1.
Walking Around In Our World
8.2.
Introducing SPELs
8.3.
Interacting
8.4.
Complex Interactions
8.5.
Creating Special Actions
8.6.
The Winning Move
9.
Adding a Simple Game Server
9.1.
The Problem of State
9.2.
A Glance at Closures
9.3.
Light-weight Processes as Closures
9.4.
Making a Game Server
9.5.
Supporting Commands
10.
Let's Play!
10.1.
Playing to Win
10.2.
Playing to Lose
10.3.
What's Next?
11.
Addenda
11.1.
Changes from the Original
11.2.
The Case Against the Word "Macro"
11.3.
Using OTP
11.4.
Source Code
Powered by
GitBook
Casting SPELs in Lisp
Adding a Simple Game Server