hlockey 5 → 6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) 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/data.rb +6 -5
  9. data/lib/hlockey/game/fight.rb +28 -17
  10. data/lib/hlockey/game/weather/audacity.rb +1 -1
  11. data/lib/hlockey/game/weather/chicken.rb +1 -1
  12. data/lib/hlockey/game/weather/sunset.rb +1 -1
  13. data/lib/hlockey/game/weather/waves.rb +11 -5
  14. data/lib/hlockey/game/weather/weatherable.rb +8 -8
  15. data/lib/hlockey/game.rb +58 -33
  16. data/lib/hlockey/league.rb +60 -63
  17. data/lib/hlockey/message.rb +54 -56
  18. data/lib/hlockey/mod/fencebuilder.rb +16 -0
  19. data/lib/hlockey/mod/fencedestroyer.rb +16 -0
  20. data/lib/hlockey/mod/handholding.rb +55 -0
  21. data/lib/hlockey/mod/immaterial.rb +26 -0
  22. data/lib/hlockey/mod/locked.rb +22 -0
  23. data/lib/hlockey/mod/moddable.rb +49 -0
  24. data/lib/hlockey/mod/nonconfrontational.rb +17 -0
  25. data/lib/hlockey/mod/powernapper.rb +46 -0
  26. data/lib/hlockey/mod/punchy.rb +17 -0
  27. data/lib/hlockey/mod.rb +25 -0
  28. data/lib/hlockey/selfdescribable.rb +9 -0
  29. data/lib/hlockey/team/player.rb +37 -58
  30. data/lib/hlockey/team/stadium.rb +10 -7
  31. data/lib/hlockey/team.rb +56 -41
  32. data/lib/hlockey/version.rb +1 -1
  33. metadata +27 -17
  34. data/data/election.yaml +0 -21
  35. data/data/external/names.txt +0 -19948
  36. data/data/information.yaml +0 -24
  37. data/data/league.yaml +0 -1694
  38. data/data/links.yaml +0 -3
  39. data/data/previous_election_results.yaml +0 -65
  40. data/lib/hlockey/game/actions.rb +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3ffa20553204aab32e385a20810d695766243023a10d5d765874ef315b01cf2
4
- data.tar.gz: c391278c8b2a521b6c245aff2982527072d7cc044a1dd86baee2f43ac7c5a0e0
3
+ metadata.gz: cf2f9d8e38f969cee10b592876549454cb7f94e78ab518ef9f3d22c785594e6d
4
+ data.tar.gz: eb032119b0b111e61425c97e60cfbdf9f93dc948c2aa2b3d4f9686983e980acb
5
5
  SHA512:
6
- metadata.gz: ef0f92274582a0c109d12727468680085dcb6b5eab57a32fb460187aebce5ef6b333dc736c9f66b6e5812848efcf531e3e25ab1041f4bca0b7d655223db728d4
7
- data.tar.gz: 302ebe65aebef3e201c4ab8174eb945c70d78e86a7bd50f5001519cbca5605822a5d9a5ba4ace11b54950310de4a16480856e524f21668e71a9002bafd6c31da
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
+ }