for(GdlSentence stateFact : gameState.getContents()) {
if(stateFact.getBody().size() > 1)
continue;
GdlSentence theRealSentence = stateFact.getBody().get(0).toSentence();
if(theRealSentence.getName().toString().equals("cell")) {
int xCell = Integer.parseInt(theRealSentence.getBody().get(0).toString());
int yCell = Integer.parseInt(theRealSentence.getBody().get(1).toString());
char mark = theRealSentence.getBody().get(2).toString().charAt(0);
int xSpot = (xCell-1)*width/3 + 2;
int ySpot = (yCell-1)*height/3 + 2;
g.setColor(Color.BLACK);