Lisplog

Blogging in Lisp

Search

Kakuro-Dojo Is Good Enough to Play

Submitted by Bill St. Clair on Tue, 25 Oct 2016 17:35:37 GMT

My Kakuro puzzle game, written in Elm is now quite usable on in iOS browsers, at least it works well on my iPhone 6S Plus and iPad 2. If you have an Android device, please give it a try, and let me know in comments how it works for you.

Kakuro-Dojo.com

In order to properly size it on the small screen, I changed my original HTML table-based layout to SVG, giving me full control of all sizes. Works good.

Here it is running on my iPad:

Kakuro Dojo on iPad

You have to scroll it vertically into game-playing position, but pinch and zoom are disabled by the game, so you don't need to size it. I will eventually add a checkbox to turn off everything on the page but the game controls.

The game remembers your state in every game you've played, in your browser's "database". But this doesn't port across browsers or devices, so I'm working next on a backend for that.

I'm planning to write the backend in Haskell, using PostgreSQL or one of the key/value stores for persistence. It will be a general-purpose, but very simple, web-enabled key/value store, which I'll use for mapping appid/key to JSON strings. I have other plans for the backend, which I'll share when it's working and I start development.

Add comment   Edit post   Add post

Previous Posts:

SVG Rocks!
What Are You Listening To?
Wake 2011 iMac from Sleep
End the War on Freedom Returns!
Elm Converts Tail Calls to Loops!
My First Haskell Program
Karabiner-Elements for macOS Sierra
macOS 10.12 Sierra
Sizing An iOS Custom Keyboard for Scaled Apps
Conway's Life in JavaScript