Today I released a minor UI enhancement for my Kenken-style puzzles; you can now navigate around the playfield using the arrow keys. This is a small thing, but I think it helps the game flow much better.
Implementation Notes
I implemented the UI with some simple keyboard event handling in JavaScript; I prefer to avoid Flash due to the fact that Flash is not supported on all platforms. I used MochiKit to smooth out some cross-browser issues, and it worked pretty well.
IE6
I find that IE6 (of course!) doesn’t work properly out of the box, but hope to have it up and running soon. Actually, IE6 is demostrating two bugs:
- It is not responding to input from the arrow keys
- When highlighting is turned on or off for a cell, the dashed borders between that cell and its neighbors in the same cage change their appearances erratically
I presume that the second bug is nothing to do with MochiKit, but the first is probably down to a leaky abstraction in the MochiKit.Signal module.
Yesterday’s Stats
Stat | 6th |
---|---|
Visitors | 16 |
Visits | 19 |
Pageviews | 518 |
Pages/Visit | 27.26 |
Avg. Time on Site | 3:43 |
The statistics are not improving; The spike is pageviews was probably due to a bot. Tomorrow, we’ll try a new marketing approach.
Follow Along
You can subscribe to my RSS feed, if you’d like to follow along with this month’s project, in which I attempt to create and popularize a puzzle site.