Documentation
¶
Index ¶
- func AreValidUsersToPlay(users []*entity.UserDTO) error
- func GameIsAvailableToPlay(game *entity.GameDTO) error
- func IsGameOver(response *entity.ResultTurnDTO) bool
- func IsNext(response *entity.ResultTurnDTO) bool
- func IsNextTurnCorrectOne(nextUserId, userId string) error
- func UserBelongToGame(game *entity.GameDTO, userId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreValidUsersToPlay ¶
func GameIsAvailableToPlay ¶
func IsGameOver ¶
func IsGameOver(response *entity.ResultTurnDTO) bool
func IsNext ¶
func IsNext(response *entity.ResultTurnDTO) bool
func IsNextTurnCorrectOne ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.