Skip to content
D implementaion of reversi game
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
source/dreversi
.gitignore
.travis.yml
LICENSE_1_0.txt
README.md
dub.json

README.md

D-Reversi

Build Status codecov Dub version

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
You can’t perform that action at this time.