add handling for path valid state to Game.java