Skip to content
Game programming experiment with Bacon.js (no more RxJs) http://juhajasatu.com/worzone/
JavaScript
Find file
Latest commit c0a1e94 @raimohanska updated bacon.js
Failed to load latest commit information.
audio initial commit to gh-pages
images initial commit to gh-pages
lib updated bacon.js
.gitignore initial commit to gh-pages
README.md
backlog.txt initial commit to gh-pages
index.html cleanup
publish-demo initial commit to gh-pages
vector.js initial commit to gh-pages
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.