Back-end web code for handling API interaction with the game.