Apply a sequence of moves to a game and return the final state. Stops at the first illegal move. Move objects must match play_get_moves format.

post/api/tools/play_make_moves

Request

  • Base URL: https://tools.moddable.games
  • URL: https://tools.moddable.games/api/tools/play_make_moves
  • Auth: none declared

Request body

stateobject required

Game state object from play_create_game or play_apply_move

movesobject[] required

Array of move objects in the format returned by play_get_moves

Response

Tool result

Changes

No recorded changes to this operation across all 1 revision of this API.