scoring.hrl 730 B

123456789101112131415161718192021222324
  1. -ifndef(SCORING_HRL).
  2. -define(SCORING_HRL, "scoring_hrl").
  3. -include_lib("kvs/include/kvs.hrl").
  4. -record(ti_game_event, {
  5. id :: integer(), %% GameId
  6. type,
  7. game_name,
  8. game_mode,
  9. double_points,
  10. tournament_type = standalone }).
  11. -record(pointing_rule, {?ITERATOR(feed),
  12. pointing_rule_id, %% {Game, GameType, Rounds} | {Game, GameType}
  13. game,
  14. game_type,
  15. rounds, %% rounds | points | undefined
  16. kakush_winner, %% kakush points will be assigned for the winner of the game.
  17. kakush_other, %% kakush points will be assigned for the rest of the
  18. quota,
  19. game_points}).
  20. -endif.