A quick remake of TerrainGame from C# to Java