All you need now is an act() method to check to see if the game is over (100 points?).
1 2 3 4 | public void act() { if (counter.getValue() >= 100 ) gameOver(); } |