dstar html5

[](/code/dstar_html5/levels.js)wanted to play around with html5, so came up with this html5 version of dstar.  it’s less than 100 lines of code (not including the levels and simple html).  it’s based on the ti and hp48 versions of the same game.  this version only has 2 levels.  graphics by @somaiagabr.

source code could be better, but you can find the non-minified game logic here and the levels here. if i were to try to optimize this, i would start at the levels, since each level could be represented as 27 bytes (+2 bytes metadata) instead of 108 bytes.

click here to play!

comments powered by Disqus