Textual implementation of a checkers game