Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jdan/ocaml-calculator-game

Calculator: The Game solver
https://github.com/jdan/ocaml-calculator-game

ocaml

Last synced: 25 days ago
JSON representation

Calculator: The Game solver

Awesome Lists containing this project

README

        

## ocaml-calculator-game

I'm having a lot of fun playing [Calculator: The Game](http://www.simplemachine.co/game/calculator-the-game/) and decided to write a solver in OCaml.

```
~/P/o $ ocaml main.ml
Level 11
-8 x11 <<
x11 << -8

Level 12
+8 x10 x10 +8 /2

Level 24
2 5 -5 5 +5

Level 30
1 2 1 2=>3 1=>2 1
1 2 2=>3 1 1=>2 1
1 2 2=>3 2 1=>2 1
1 2 2=>3 1=>2 2 1
```