Tuesday, 31 May 2016

24 Game Solver

My girlfriend is a bit obsessed with 24 Game and has gotten me addicted. The rules are simple: Given four numbers, use simple math to make 24.

Here’s an example with a solution, given the numbers 8, 12, 9, 3:

9 – 3 = 6
8 – 6 = 2
2 * 12 = 24

It’s simple and fun, but every time I’d play I knew there were solutions that I was not thinking of. So, I created 24 Game Solver, which you can find over at:

http://24solver.us-west-2.elasticbeanstalk.com/

Enter in your four numbers, click “Solve” and the app will show you all the possible solutions.

24-game-solver-screenshot

Tip: Click “Highlight similar solutions” to see which solutions are unique.