Liking cljdoc? Tell your friends :D

com.oakmac.tourney-nerd.games


aborted-statusclj/s

source

canceled-statusclj/s

source

create-gameclj/s

(create-game opts)

creates a new Game

creates a new Game
sourceraw docstring

create-games-from-templateclj/s

(create-games-from-template division-id
                            group-id
                            teams
                            fields
                            rounds
                            games-template)

creates games from a Games Template

creates games from a Games Template
sourceraw docstring

final-statusclj/s

source

final?clj/s

(final? game)

Has this game been played?

Has this game been played?
sourceraw docstring

forfeit-statusclj/s

source

game->idclj/s

(game->id game)
source

game->losing-team-idclj/s

(game->losing-team-id {:keys [scoreA scoreB teamA-id teamB-id] :as game})

returns the losing team-id from a game if it is final and one team has scored less points than the otherwise nil otherwise (including ties)

returns the losing team-id from a game if it is final and one team has scored less points than the otherwise
nil otherwise (including ties)
sourceraw docstring

game->winning-team-idclj/s

(game->winning-team-id {:keys [scoreA scoreB teamA-id teamB-id] :as game})

returns the winning team-id from a game if it is final and one team has scored more points than the other nil otherwise (including ties)

returns the winning team-id from a game if it is final and one team has scored more points than the other
nil otherwise (including ties)
sourceraw docstring

game-finished?clj/s

(game-finished? game)
source

game-schemaclj/s

source

game-statusesclj/s

source

game?clj/s

(game? g)

Is g a Game?

Is g a Game?
sourceraw docstring

games->games-listclj/s

(games->games-list games)

Converts games into a list or throws if unable to do so

Converts games into a list or throws if unable to do so
sourceraw docstring

get-games-played-between-two-teamsclj/s

(get-games-played-between-two-teams games teamA-id teamB-id)

Returns a hash map of the games played between two teams.

games can either be a list or a map

Returns a hash map of the games played between two teams.

games can either be a list or a map
sourceraw docstring

in-progress-statusclj/s

source

reset-gameclj/s

(reset-game g)

Resets the values of a Game for a new Event.

Resets the values of a Game for a new Event.
sourceraw docstring

scheduled-statusclj/s

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close