renaming of game.game to avoid conflicts + fix indents
fixed pathfinding algorithm