a basic java videogame