Renamed endOfGameAction to EndOfGameAction