Added support for kinging; still no good error handling and double jumps are buggy