adds more styling to game and also fixes recursive bug by adding a flag