This API allows you to play Tic-Tac-Toe. You and someone can play together, or you can play against a computer, either against one that uses random algorithm, or a computer that is impossible to win against which uses the minimax algorithm.
I implemented this API on a react WebApp, try it out here or visit the github page.
There are 3 types of requests:
- Create Session POST - http://alkindi.pythonanywhere.com/session
- Get Session Details GET - http://alkindi.pythonanywhere.com/session
- Play; make a move POST - http://alkindi.pythonanywhere.com/session/play
API Documentation is available at: https://documenter.getpostman.com/view/25468658/2s8ZDeSy5r
- Status 200: Success.
- Status 400: Something wrong with your request.
- Status 500: Something wrong with the server.