Game API Documentation - Arquisoft/Trivial2a GitHub Wiki

#API methods Game configuration methods:

  • getBoardOptions() : List
  • selectBoardOption(BoardOption)
  • getUserList() : List
  • createUser(User): boolean
  • startGame(List) : Player

Gameplay methods:

  • getCurrentPlayer() : Player
  • rollDice() : int
  • getMoves() : List
  • movePlayer(int) : int

Game stats methods:

#API model classes BoardOption
Board

⚠️ **GitHub.com Fallback** ⚠️