hlockey 4 → 6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/data/election.json +20 -0
  3. data/data/information.json +5 -0
  4. data/data/league.json +1984 -0
  5. data/data/links.json +5 -0
  6. data/data/previous_election_results.json +98 -0
  7. data/lib/hlockey/actions.rb +22 -0
  8. data/lib/hlockey/constants.rb +6 -0
  9. data/lib/hlockey/data.rb +6 -5
  10. data/lib/hlockey/game/fight.rb +35 -20
  11. data/lib/hlockey/game/weather/audacity.rb +20 -0
  12. data/lib/hlockey/game/weather/chicken.rb +57 -0
  13. data/lib/hlockey/game/weather/incline.rb +43 -0
  14. data/lib/hlockey/game/weather/stars.rb +23 -0
  15. data/lib/hlockey/game/weather/sunset.rb +23 -0
  16. data/lib/hlockey/game/weather/waves.rb +33 -0
  17. data/lib/hlockey/game/weather/weatherable.rb +63 -0
  18. data/lib/hlockey/game/weather.rb +17 -0
  19. data/lib/hlockey/game.rb +123 -89
  20. data/lib/hlockey/league.rb +68 -76
  21. data/lib/hlockey/message.rb +62 -62
  22. data/lib/hlockey/mod/fencebuilder.rb +16 -0
  23. data/lib/hlockey/mod/fencedestroyer.rb +16 -0
  24. data/lib/hlockey/mod/handholding.rb +55 -0
  25. data/lib/hlockey/mod/immaterial.rb +26 -0
  26. data/lib/hlockey/mod/locked.rb +22 -0
  27. data/lib/hlockey/mod/moddable.rb +49 -0
  28. data/lib/hlockey/mod/nonconfrontational.rb +17 -0
  29. data/lib/hlockey/mod/powernapper.rb +46 -0
  30. data/lib/hlockey/mod/punchy.rb +17 -0
  31. data/lib/hlockey/mod.rb +25 -0
  32. data/lib/hlockey/selfdescribable.rb +9 -0
  33. data/lib/hlockey/team/player.rb +58 -0
  34. data/lib/hlockey/team/stadium.rb +52 -0
  35. data/lib/hlockey/team.rb +66 -25
  36. data/lib/hlockey/utils.rb +10 -2
  37. data/lib/hlockey/version.rb +1 -1
  38. metadata +37 -19
  39. data/data/election.yaml +0 -21
  40. data/data/external/names.txt +0 -19948
  41. data/data/information.yaml +0 -24
  42. data/data/league.yaml +0 -1526
  43. data/data/links.yaml +0 -3
  44. data/data/previous_election_results.yaml +0 -59
  45. data/lib/hlockey/game/actions.rb +0 -27
  46. data/lib/hlockey/player.rb +0 -73
  47. data/lib/hlockey/weather.rb +0 -168
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1de4c3a62d155d351f3e70762c288facd94b659e2b68490d6dc60ed66752d624
4
- data.tar.gz: db307b1059530bb112ef52c4cd34f51acf1d458f37409ba4d6b24bafd2b53a0e
3
+ metadata.gz: cf2f9d8e38f969cee10b592876549454cb7f94e78ab518ef9f3d22c785594e6d
4
+ data.tar.gz: eb032119b0b111e61425c97e60cfbdf9f93dc948c2aa2b3d4f9686983e980acb
5
5
  SHA512:
6
- metadata.gz: bd5228c47f5b14c1dedab1e1cbb43e88d137cf46f4562fe663378edd639356bdaedee15fd391e936ac931a525ca8bc6e69e08164f9c81e50e7b3ab66c8a2ddd9
7
- data.tar.gz: 3d9cad5780acb2d00c18ab994ea0c7fef056d162777947f4ef239b208591f1638b0ddd1f39172e8fbb30bd2fb698d4118b7890af7e43074f7b711ddffc6bef36
6
+ metadata.gz: da78f601070599ca7a105e0ee571af912cc6c3e9e2acf1b72ca24a84d16794d63ccdf3b6f5dcfd1ac682ea97329aefc890b1afc9046c5a69636bcd72c9a1d153
7
+ data.tar.gz: 0d2cc3c6b3b0d6650c0ff2b2de76417beb183ccb1b7fe2802a6931084e34336867e5a82e122fb1092fd2ae8dea69a8a599bafb07bd89e09e68c5dda7e83c6b79
@@ -0,0 +1,20 @@
1
+ {
2
+ "Treasure": {
3
+ "Dave": "The worst stat on your team is set to 4.5.",
4
+ "Nice": "Boost your worst player by 0.69 in every stat.",
5
+ "Vengabus": "All your team's stats are boosted by your team's losses * 0.005.",
6
+ "Shared Training": "All teams in your division get +0.3 in each stat on each player.",
7
+ "Theft": "Your worst player steals 0.3 in every stat from the champion team's best player.",
8
+ "Shadow Lock": "Draft a new player to shadows, then give all your shadows the Locked mod (can not move positions)."
9
+ },
10
+ "Coaching": {
11
+ "Please Block Shots": "Move your team's best defensive player to goalie.",
12
+ "Please Win Faceoffs": "Move your team's player best offensive player to center.",
13
+ "Draft": "Add a new random player to your shadows.",
14
+ "Small Gamble": "All your team's stats go up or down by 0.5 at random.",
15
+ "Big Gamble": "All your team's stats go up or down by 1.0 at random.",
16
+ "Revolution": "Your team's best player and worst player split their stats evenly.",
17
+ "Clock Wise": "Rotate each player on the roster to the position clockwise of them.",
18
+ "Clock Unwise": "Rotate each player on the roster to the position counterclockwise of them."
19
+ }
20
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "Format": "First is the regular season, with matchups lasting 3 games.\nTeams play 3 matchups against every team in their subleague (warm / cool).\nAfter that, they play 1 matchup against the rest of the teams.\nThis adds up to 37 matchups, or 111 games.\nAfter the regular season is the playoffs, with matchups lasting 5 games.\nThe playoffs are a single-elimination tournament.\nThe top teams in each division as well as the top 4 non-division leaders go to playoffs.\nPlayoffs are perfectly seeded (best team plays worst team, etc).\nPlayoffs have 3 matchups, or 15 games.",
3
+ "Elections": "During each season, everyone can vote on the website for things that change the league.\nBriberies effect the entire league.\nTreasures are won on a raffle between the teams.\nCoachings are given to each team, with teams getting the coaching they vote for the most.",
4
+ "Weather": "Hlockey has different weathers which effect the games, similar to Blaseball.\nAudacity causes players to take shots regardless of the state of the game.\nChicken swaps a random roster player with a random shadow player for the rest of the game.\nIncline adds a random amount of score to a favored team's goals.\nStars gives the losing team +0.5 score at the end of each period.\nSunset makes each team's goals worth less the more the team scores.\nWaves swaps a roster player (most likely worst) with a random shadow player permanently."
5
+ }