Skip to content

mgonnet/umpire-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov

@mgonnet/umpire-client

Functions

  • register(name) : Promise<'OK'>
  • leave() : Promise<'OK'>
  • createLobby(name) : Promise<{lobbyInfo}>
  • joinLobby(name) : Promise<{lobbyInfo}>
  • chooseRol(rol) : Promise<{lobbyInfo}>
  • startGame() : Promise<{lobbyInfo, gameInfo}>
  • move(move) : Promise<{gameInfo}>
  • moves(options) : Promise<{moves}>

Listeners

  • 'LOBBY-UPDATE': {lobbyInfo}
  • 'GAME-START': {lobbyInfo, gameInfo}
  • 'MOVE': {gameInfo}

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published