Support for the new warlight challenge and some miscellaneous improvements

Added support for the new warlight challenge.
Added more movelogic.
Added random moves and random placements as an example of how to implement those.

Fixed a bug where enemy move interpretation was wrong.