Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 328 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 328 Bytes

noughtsCrossesAPI

An interface to the SMF/Softwire noughts & crosses DB!

Usage

  • GET (hostname)/game/(gameNumber) => game data!
  • POST (hostname)/game/(gameNumber)/move,
    {
      player: (1 or 2),
      position: [row, column]
    }
  • POST (hostname)/game/(gameNumber) => creates new (blank) game!