REST API for handling games and moves