After being stumped by the ‘train game’ one evening, I have made a quick Javascript ‘Train-Game’ solver (see it here)! I used html5 boilerplate and KendoUI to make it in ~ 1 hour.

The rules are simple. Take the 4 digit train number (normally visible near the stairs inside a carriage) and perform simple arithmatic operations on them such that the result is 10.

For example, take the train number ‘1234’. We can make 10 by the the following sequence:

1 + 2 + 3 + 4 = 10

also, 1 * 2 + 3 + 4 = 10.

You can even group digits, like so:

44 – 34 = 10

I’ve put in on a public repo on github as well as hosted it here.

Leaving for Europe this monday for a very long time.

Meep!

## Not another WordPress site.. ungh!