updated RandomGames.java