made sure last commit works, moved "chess" code to a library
chars as a replacement for shorts was a bad idea