android
,
FRP
,
functional programming
,
functional reactive programming
,
game programming
,
games
,
haskell
,
Open Source
,
reactive
,
sdl
,
yampa
Declarative Game Programming -- slides, videos and code
Earlier this month, Henrik Nilsson & Ivan Perez presented a tutorial at PPDP 14 on Declarative Game Programming.
The goal was to show how real game programming is possible in a purely functional, declarative way. One way of doing so, seeing games as networks of interconnected signals and signal transformers, results in clear, reusable, modular code.
To illustrate these ideas, a small but realistic game was demonstrated, featuring many of the complex elements found in arcade games: SDL graphics and sound, Wiimote controller, and differentiated subsystems for rendering and sound, game input, physics/collisions, game logic, etc. The game has several levels, each with its own background and music.
To help others interested in functional game programming, all the talk material have been made available, including the slides and the full game code.
...