boardslam-crystal
Boardslam in Crystal
This is a port of my boardslam.rb script to Crystal.
Explanation here: seven1m.sdf.org/experiments/boardslam.cgi
Build
-
Run
make build_release
Usage
bin/boardslam 1 2 3
1 + 2 / 3 = 1
1 - 2 + 3 = 2
1 / 2 + 3 = 3
1 + 2 + 3^0 = 4
1 * 2 + 3 = 5
1 + 2 + 3 = 6
1 * 2^2 + 3 = 7
1 - 2 + 3^2 = 8
1 + 2 * 3 = 9
1 * 2^0 + 3^2 = 10
1 * 2 + 3^2 = 11
1 + 2 + 3^2 = 12
1 * 2^2 + 3^2 = 13
1 + 2^2 + 3^2 = 14
1 + 2^2 * 3 = 15
1 + 3 * 2^2 = 16
1 * 2^3 + 3^2 = 17
1 * 2 * 3^2 = 18
1 * 3^3 - 2^3 = 19
1 - 2^3 + 3^3 = 20
2^3 - 1 * 3 = 21
3^3 - 1 - 2^2 = 22
1 * 3^3 - 2^2 = 23
1 - 2^2 + 3^3 = 24
1 * 3^3 - 2 = 25
1 - 2 + 3^3 = 26
1 + 2 * 3^2 = 27
1 * 2^0 + 3^3 = 28
1 * 2 + 3^3 = 29
1 + 2 + 3^3 = 30
1 * 2^2 + 3^3 = 31
1 + 2^2 + 3^3 = 32
2^3 - 1 + 3^3 = 34
1 * 2^3 + 3^3 = 35
1 * 2^2 * 3^2 = 36
missing answers: 33
License: MIT
Repository
boardslam-crystal
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 7 years ago
- June 15, 2018
License
Links
Synced at
Wed, 27 Aug 2025 02:55:47 GMT
Languages