Code formating in game_engine.js