diff --git a/src/nn/util/tris.nim b/src/nn/util/tris.nim index dcab9a6..7ae1baa 100644 --- a/src/nn/util/tris.nim +++ b/src/nn/util/tris.nim @@ -61,6 +61,7 @@ proc place*(self: TrisGame, tile: TileKind, x, y: int) = ## Places a tile onto the playing board if TileKind(self.map[x, y]) == Empty: self.map[x, y] = int(tile) + if tile == Self: inc(self.moves)