Basic implementation of the Threes! iOS game using typescript.