Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jdan/ocaml-calculator-game
- Owner: jdan
- Created: 2017-09-20T13:27:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-25T22:03:21.000Z (over 7 years ago)
- Last Synced: 2024-11-08T13:40:57.699Z (3 months ago)
- Topics: ocaml
- Language: OCaml
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 << -8Level 12
+8 x10 x10 +8 /2Level 24
2 5 -5 5 +5Level 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
```