hlockey 5 → 7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/data/election.json +23 -0
  3. data/data/infinileague.json +189 -0
  4. data/data/information.json +6 -0
  5. data/data/league.json +2042 -0
  6. data/data/links.json +5 -0
  7. data/data/messages.json +46 -0
  8. data/data/previous_election_results.json +91 -0
  9. data/lib/hlockey/actions.rb +22 -0
  10. data/lib/hlockey/data.rb +6 -5
  11. data/lib/hlockey/game/fight.rb +100 -40
  12. data/lib/hlockey/game/weather/audacity.rb +1 -1
  13. data/lib/hlockey/game/weather/chicken.rb +3 -2
  14. data/lib/hlockey/game/weather/incline.rb +2 -1
  15. data/lib/hlockey/game/weather/stars.rb +1 -1
  16. data/lib/hlockey/game/weather/sunset.rb +2 -4
  17. data/lib/hlockey/game/weather/waves.rb +9 -5
  18. data/lib/hlockey/game/weather/weatherable.rb +9 -9
  19. data/lib/hlockey/game.rb +182 -116
  20. data/lib/hlockey/league.rb +90 -73
  21. data/lib/hlockey/message.rb +23 -153
  22. data/lib/hlockey/mod/fencebuilder.rb +15 -0
  23. data/lib/hlockey/mod/fencedestroyer.rb +16 -0
  24. data/lib/hlockey/mod/handholding.rb +57 -0
  25. data/lib/hlockey/mod/immaterial.rb +28 -0
  26. data/lib/hlockey/mod/locked.rb +28 -0
  27. data/lib/hlockey/mod/moddable.rb +70 -0
  28. data/lib/hlockey/mod/nonconfrontational.rb +17 -0
  29. data/lib/hlockey/mod/powernapper.rb +50 -0
  30. data/lib/hlockey/mod/punchy.rb +21 -0
  31. data/lib/hlockey/mod.rb +25 -0
  32. data/lib/hlockey/selfdescribable.rb +7 -0
  33. data/lib/hlockey/team/player.rb +40 -58
  34. data/lib/hlockey/team/stadium.rb +10 -7
  35. data/lib/hlockey/team.rb +56 -41
  36. data/lib/hlockey/utils.rb +36 -4
  37. data/lib/hlockey/version.rb +1 -1
  38. data/lib/hlockey.rb +15 -0
  39. metadata +30 -18
  40. data/data/election.yaml +0 -21
  41. data/data/external/names.txt +0 -19948
  42. data/data/information.yaml +0 -24
  43. data/data/league.yaml +0 -1694
  44. data/data/links.yaml +0 -3
  45. data/data/previous_election_results.yaml +0 -65
  46. data/lib/hlockey/game/actions.rb +0 -24
@@ -1,24 +0,0 @@
1
- ---
2
- :Format: |-
3
- First is the regular season, with matchups lasting 3 games.
4
- Teams play 3 matchups against every team in their subleague (warm / cool).
5
- After that, they play 1 matchup against the rest of the teams.
6
- This adds up to 37 matchups, or 111 games.
7
- After the regular season is the playoffs, with matchups lasting 5 games.
8
- The playoffs are a single-elimination tournament.
9
- The top teams in each division as well as the top 4 non-division leaders go to playoffs.
10
- Playoffs are perfectly seeded (best team plays worst team, etc).
11
- Playoffs have 3 matchups, or 15 games.
12
- :Elections: |-
13
- During each season, everyone can vote on the website for things that change the league.
14
- Briberies effect the entire league.
15
- Treasures are won on a raffle between the teams.
16
- Coachings are given to each team, with teams getting the coaching they vote for the most.
17
- :Weather: |-
18
- Hlockey has different weathers which effect the games, similar to Blaseball.
19
- Audacity causes players to take shots regardless of the state of the game.
20
- Chicken swaps a random roster player with a random shadow player for the rest of the game.
21
- Incline adds a random amount of score to a favored team's goals.
22
- Stars gives the losing team +0.5 score at the end of each period.
23
- Sunset makes each team's goals worth less the more the team scores.
24
- Waves swaps the worst roster player with a random shadow player permanently.