Example #1
0
 public void checkmate(Eside winSide)
 {
     _gameState = Egame_state.END_GAME;
     txt.text   = "CHECKMATE! " + "WinSide: " + winSide;
 }
Example #2
0
 private void Awake()
 {
     Current       = this;
     CurrentPlayer = Eplayer.WHITE;
     _gameState    = Egame_state.PLAYING;
 }
Example #3
0
 public void end_game(Eplayer winPlayer)
 {
     _gameState = Egame_state.END_GAME;
     txt.text   = "WinPlayer : " + winPlayer;
 }