Chess: classy definitions for chess AI