Skip to content
/ worzone Public
forked from raimohanska/worzone

Game programming experiment with Bacon.js (no more RxJs)

Notifications You must be signed in to change notification settings

anami/worzone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Game programming experiment with Bacon.js (no more RxJs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published