Skip to content
Game programming experiment with Bacon.js (no more RxJs)
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
audio
images
lib
.gitignore initial commit to gh-pages Dec 2, 2011
README.md
backlog.txt
index.html
publish-demo
vector.js
worzone.js

README.md

Worzone

This simple game, strongly inspired by the C64 classic Wizard Of Wor, is an experiment on using Reactive Functional Programming on a game. I did this first with RxJs (Reactive Extensions of Javascript) but lately I wrote my own FRP framework, bacon.js, and converted Worzone to use that instead.

See the online demo.

I have described the basic ideas in my blog posting Game Programming With RxJs.

The switch from RxJs to Bacon.js did not dramatically change the internal structure of the game, except for some simplification made possible by including stuff like Bus in the framework itself. Performance seems to be pretty much the same, too. Profiling with Chrome shows that most CPU time is wasted in Raphaël rendering, so maybe I (or you) should try replacing that with HTML canvas.

Something went wrong with that request. Please try again.