Movement and win condition implemented.