Inteligent move done and working.

- Special move done.
- Fixed player id.
- Fixed a bug which the player doesn't turn correctly when the player
was at the edges of the map.