Supplanting Data with Equations →
I wanted a nice way of using a simple block of HTML and substituting in the values from a data object. I started with Douglas Crockford’s example from his beginner JS talk, and added the equation support. It’s limited, and I feel dirty for using ‘eval’, but it’s doing the trick well so far. Have a play here: http://jsfiddle.net/_jamiewilson/PYNfK/
There are two pretty exciting competitions coming up over the next month. First up, is 10K Apart (http://10k.aneventapart.com/) Having a look at the entries from last year, people have done some pretty amazing things with 10K. My immediate thought is a side scroller game, because I love them, but graphics are where it gets hard. Your basic sprite is generally going to be more than 10K. You can...
Really cool article here from Smashing magazine about how to incorporate game play into your web app.