The api for the noughts and crosses game