d-reversi ~master
A minimal D application.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
D-Reversi
D language implementaion of Reversi
You can play it by $ dub
$ dub
Running ./d-reversi
0 1 2 3 4 5 6 7
0[ ][ ][ ][ ][ ][ ][ ][ ]
1[ ][ ][ ][ ][ ][ ][ ][ ]
2[ ][ ][ ][ ][ ][ ][ ][ ]
3[ ][ ][ ][x][o][ ][ ][ ]
4[ ][ ][ ][o][x][ ][ ][ ]
5[ ][ ][ ][ ][ ][ ][ ][ ]
6[ ][ ][ ][ ][ ][ ][ ][ ]
7[ ][ ][ ][ ][ ][ ][ ][ ]
turn: black(x). stat: [empty:60, white:2, black:2]
>>> input '{row} {col}\n'
1 1
>>> Error: invalid action. retry.
4 2
0 1 2 3 4 5 6 7
0[ ][ ][ ][ ][ ][ ][ ][ ]
1[ ][ ][ ][ ][ ][ ][ ][ ]
2[ ][ ][ ][ ][ ][ ][ ][ ]
3[ ][ ][ ][x][o][ ][ ][ ]
4[ ][ ][x][x][x][ ][ ][ ]
5[ ][ ][ ][ ][ ][ ][ ][ ]
6[ ][ ][ ][ ][ ][ ][ ][ ]
7[ ][ ][ ][ ][ ][ ][ ][ ]
turn: white(o). stat: [empty:59, white:1, black:4]
>>> input '{row} {col}\n'
^C
- Registered by shigeki karita
- ~master released 6 years ago
- ShigekiKarita/d-reversi
- BSL-1.0
- Copyright © 2018, karita
- Authors:
- Dependencies:
- mir-algorithm
- Versions:
-
0.0.3 2018-Nov-21 0.0.2 2018-Jul-01 0.0.1 2018-Jul-01 ~master 2018-Nov-21 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
7 downloads total
-
- Score:
- 0.7
- Short URL:
- d-reversi.dub.pm