Skip to content

Releases: BattlesnakeOfficial/rules

v1.0.30

28 Mar 17:32
762c94c
Compare
Choose a tag to compare

added TurnDuration option to cli (#62)

v1.0.29

28 Mar 17:14
Compare
Choose a tag to compare

add tests for convertRulesSnakes

fix invalid request to /end when game ended in a draw

In board.snakes there would be null instead of [].

v1.0.28

17 Mar 16:16
397d925
Compare
Choose a tag to compare

DEV-765 pipeline refactor (#64)

Refactor rulesets into smaller composable operations

In order to mix up the functionality from different rulesets like Solo, Royale, etc. the code in these classes needs to be broken up into small functions that can be composed in a pipeline to make a custom game mode.

DEV-765 add some additional tests (#65)

Adds additional test coverage. Re-uses standard test cases where possible and added a few additional cases specific to some modes.

v1.0.27

03 Mar 20:21
9cf20bb
Compare
Choose a tag to compare

Add hazardMap and hazardMapAuthor to RulesetSettings (#63)

  • add HazardMap and HazardMapAuthor to RulesetSettings

  • test for format of hazard map properties

v1.0.26

31 Jan 17:44
09aa6e0
Compare
Choose a tag to compare
  • Add CLI ruleset names for wrapped and constrictor modes.

v1.0.25

18 Jan 20:53
Compare
Choose a tag to compare
  • Force fixed food spawn to never spawn food closer to the middle of the board

v1.0.24

11 Jan 22:55
Compare
Choose a tag to compare
  • DEV-316: Update default move handling to cover more cases

v1.0.23

25 Nov 22:17
4a9dbbc
Compare
Choose a tag to compare

DEV 559: Refactor CLI and add customizations (#57)

  • move snake API structs into a new client package

  • add customizations to snake objects

  • refactor and add support for passing snake customizations in games

Create CONTRIBUTING.md

Add missing ruleset params to request body and --debug-requests option (#55)

  • fix sending of new params

  • add royale and squad settings to requests

  • add --debug-requests option

  • update test for request body and add helper

Co-authored-by: Penelope Phippen [email protected]

Update CODEOWNERS

Update CODEOWNERS

add CLI flags for ruleset settings and update hazardDamagePerTurn (#53)

v1.0.22

27 Aug 20:46
e9f408c
Compare
Choose a tag to compare

add turn to BoardState and remove it from RoyaleRuleset (#52)

v1.0.21

24 Aug 19:31
17556e1
Compare
Choose a tag to compare
  • Extract board generation out of rules.Ruleset (#51)
  • Wrapped ruleset (#30)