Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tweak game class

  • Loading branch information...
commit c9e9448e40c1ce5d5e2c1762ee0fcf43a4ccd26f 1 parent 64bcd5b
Thibault Duplessis authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  src/main/scala/Game.scala
2  src/main/scala/Game.scala
@@ -45,6 +45,8 @@ case class Game(
45 45
46 46 def pgnMovesList = pgnMoves.split(' ').toList
47 47
  48 + def withPgnMoves(pgn: String) = copy(pgnMoves = pgn)
  49 +
48 50 /**
49 51 * Halfmove clock: This is the number of halfmoves
50 52 * since the last pawn advance or capture.

0 comments on commit c9e9448

Please sign in to comment.
Something went wrong with that request. Please try again.