Chess engine and UI for Mac nad iOS