Added gate again
Code cleanup
bugfix: move gates with player
move player per click