Commit 685d438e authored by CRESCENCE Cassandre's avatar CRESCENCE Cassandre

Add new file

parent 21d3e2a2
Pipeline #480 canceled with stages
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tictactoecodingame;
/**
*
* @author franck.tempet
*/
public class Jeton extends Piece {
public Jeton( Joueur _joueur ) {
super( _joueur );
}
public String toString() {
if ((getJoueur().getIdJoueur()) == 1) {
return "X";
}
else {
return "O";
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment