RESTful API for a turn-based board game