Commit graph

  • e1ab986486 Bump to Go 1.17 bvanvugt 2022-01-10 22:25:46 +00:00
  • ba855a8ab1
    Colored board (#59) Ebbe Steenhoudt 2021-12-08 10:43:40 -08:00
  • 142a5a6ecf
    Add export to file (#58) Simon Agius Muscat 2021-12-02 18:59:20 +01:00
  • 4a9dbbcaef
    DEV 559: Refactor CLI and add customizations (#57) Rob O'Dwyer 2021-11-25 14:07:56 -08:00
  • 6140f232c2
    Create CONTRIBUTING.md Aurora Walker 2021-10-01 15:33:48 -07:00
  • 31faba642c
    Add missing ruleset params to request body and --debug-requests option (#55) Rob O'Dwyer 2021-09-07 14:58:10 -07:00
  • 0cba5eff59
    Update CODEOWNERS Brad Van Vugt 2021-09-07 09:46:35 -07:00
  • 85a0edcf74
    Update CODEOWNERS Brad Van Vugt 2021-09-07 09:46:17 -07:00
  • 2d57653d46
    add CLI flags for ruleset settings and update hazardDamagePerTurn (#53) Rob O'Dwyer 2021-09-02 15:32:46 -07:00
  • e9f408cdbb
    add turn to BoardState and remove it from RoyaleRuleset (#52) Rob O'Dwyer 2021-08-27 13:28:12 -07:00
  • 17556e15c1
    wrapped ruleset (#30) John Oram 2021-08-24 12:11:36 -07:00
  • 015b681f14
    DEV-280: Extract board generation out of rules.Ruleset (#51) Rob O'Dwyer 2021-08-23 17:13:58 -07:00
  • e416384007
    Refactor RoyaleRuleset and move hazard damage into StandardRuleset (#50) Rob O'Dwyer 2021-08-17 16:47:06 -07:00
  • dabbe7dfb5
    Remove Eliminated Snake from the send payload (#49) Nettogrof 2021-07-17 16:18:43 -04:00
  • 97fbcb3376
    Add new arg "delay" to delay board updates by x milliseconds (#48) Luke Mitchell 2021-07-04 13:48:56 -07:00
  • d42f5f46cc CLI: Persist hazards in royale games. bvanvugt 2021-07-04 13:41:44 -07:00
  • 0331ea65f8
    fixed panic when printing snake out of bounds (#46) Jiri Novotny 2021-07-03 06:42:16 +03:00
  • f65f6d65d7 CLI: No longer send /move requests to eliminated snakes. bvanvugt 2021-07-02 20:36:37 -07:00
  • bae7a5083c CLI - Send /end request to all Battlesnakes. bvanvugt 2021-07-02 20:12:39 -07:00
  • 72a74a9628 Remove ruleset versions for GitHub release version (future). bvanvugt 2021-07-02 20:09:55 -07:00
  • 9dba91619a Fix latency string in unit test. bvanvugt 2021-07-02 20:08:58 -07:00
  • f31bdff4b8
    add ruleset data to the calls made by the cli (name and version) (#32) John Oram 2021-07-02 20:00:19 -07:00
  • d750b08317
    Change SnakeResponse.Latency to be a string. (#45) Hunter Freyer 2021-06-21 17:25:31 -04:00
  • c2c1c8df50
    Update README.md Andrew MacLean 2021-05-18 09:07:03 -07:00
  • ff355282bc
    Create CODE_OF_CONDUCT (#36) Andrew MacLean 2021-04-05 22:34:36 -07:00
  • f98b1e38ec
    Remove old API v0 Y-Axis warnings and FAQ Brad Van Vugt 2021-02-12 13:51:25 -08:00
  • d62807774b Invert the Y-Axis to match modern gameplay. bvanvugt 2021-01-19 15:33:05 -08:00
  • e1bafaac69 Update CI to Go 1.15 bvanvugt 2021-01-19 15:07:25 -08:00
  • 02b85487f0 Remove MazeRuleset from CLI bvanvugt 2021-01-19 15:02:11 -08:00
  • 12f9297b8b Rename 'maze' -> 'constrictor', remove use of food bvanvugt 2021-01-19 14:55:49 -08:00
  • f9262bc336 go mod tidy bvanvugt 2021-01-19 14:55:07 -08:00
  • c8033afb86 Bump to Go 1.15 bvanvugt 2021-01-19 14:42:36 -08:00
  • 08b4fba8e0 Add more output to Build CLI CI test. bvanvugt 2020-12-11 10:10:27 -08:00
  • 6f6bd03f88 Make Build CLI action consistently named. bvanvugt 2020-12-11 10:08:55 -08:00
  • 63652d7917 Add CI test for building CLI. bvanvugt 2020-12-11 10:07:50 -08:00
  • accb598e29 Add RulesetError test case. Remove old comments. bvanvugt 2020-12-11 10:05:19 -08:00
  • 2cbf8884bf
    Add new constants for standard ruleset errors, resolves #5 (#24) md-hexdrive 2020-12-11 12:50:52 -05:00
  • f0f2ff5961 Update READMEs for new CLI stuff. bvanvugt 2020-12-11 09:45:07 -08:00
  • 1cfbd80284 goreleaser github action bvanvugt 2020-12-10 21:11:03 -08:00
  • f0045be2f8 Working goreleaser. bvanvugt 2020-12-10 21:08:08 -08:00
  • 78ca2e09c6 Add goreleaser config. bvanvugt 2020-12-10 21:01:43 -08:00
  • 8320ef23cd
    Update README.md Brad Van Vugt 2020-12-10 16:05:17 -08:00
  • f2b52b85d6 Configurable random seed. Fix food spawning parameters. Added Solo game result condition. Added support for 'maze' mode. Added seed, ruleset to view output. bvanvugt 2020-12-10 15:56:22 -08:00
  • 8d764e1477 Update build path and docs. bvanvugt 2020-12-10 15:02:29 -08:00
  • 6c1e0d9547
    Command Line Interface to Run Games Locally (#25) Len Payne 2020-12-10 17:35:52 -05:00
  • e01a1bf505
    "Feast" -> "Maze". Fix backfill bug. (#26) Brad Van Vugt 2020-12-08 13:20:13 -08:00
  • d7ee7b97fb New "feast" game mode (alpha) bvanvugt 2020-12-07 18:11:00 -08:00
  • ca4b6c5dce Add parameters for food spawn chance and min food. bvanvugt 2020-11-20 12:00:58 -08:00
  • c6d9ba12ab Never spawn food within one move of any snake. bvanvugt 2020-11-10 13:00:13 -08:00
  • f5aec61e04 Rename "EliminatedByStarvation" > "EliminatedByOutOfHealth" Brad Van Vugt 2020-09-10 12:00:56 -07:00
  • 92592c2aba Allow previous game state to include eliminated snakes. Fixes #19. Brad Van Vugt 2020-09-10 11:49:41 -07:00
  • 5fecc99934
    Update README.md Brad Van Vugt 2020-09-07 09:03:10 -07:00
  • fb115ddc39
    Update README.md Brad Van Vugt 2020-09-07 09:01:50 -07:00
  • ded0c9612d
    Update README.md Brad Van Vugt 2020-09-02 12:45:05 -07:00
  • 2cb1943463 Add tests to ensure that head-to-heads on food remove the food. Brad Van Vugt 2020-08-31 13:30:09 -07:00
  • a342f87ed6 Ensure snakes eating on their last turn survive! Brad Van Vugt 2020-08-31 13:18:03 -07:00
  • e804ec9f17 Merge branch 'master' of github.com:BattlesnakeOfficial/rules Brad Van Vugt 2020-07-29 13:15:00 -07:00
  • dcbc3aac5a Add static seed to royale rulset. Brad Van Vugt 2020-07-29 13:14:42 -07:00
  • b92d4a0493
    Update main.yml Brad Van Vugt 2020-07-29 10:49:50 -07:00
  • 64dfc6dd55 Royale: Shrink a random edge instead of the whole board Brad Van Vugt 2020-07-29 10:24:38 -07:00
  • 2ca57f0779 Royale mode does damage instead of eliminating. Brad Van Vugt 2020-07-27 10:59:52 -07:00
  • dd5a2fd88f Add new royale ruleset. Brad Van Vugt 2020-07-25 17:37:41 -07:00
  • ccc2a27fd1 Rename squad tests to avoid name collisions. Brad Van Vugt 2020-07-25 17:35:20 -07:00
  • 5aec70de2b Prioritize self-collisions over other collisions. Fixes #16. Brad Van Vugt 2020-07-21 17:11:12 -07:00
  • c74436e709 Rename TeamRuleset -> SquadRuleset Brad Van Vugt 2020-07-21 14:59:41 -07:00
  • 01eaf6267d Rename TeamRuleset -> SquadRuleset Brad Van Vugt 2020-07-21 14:58:56 -07:00
  • d0400fcb18 Always spawn food within two moves of each snake on known board sizes. Brad Van Vugt 2020-07-21 13:43:28 -07:00
  • 70a8107a6f
    Implemented TestCreateNextBoardState (#15) sjbcastro 2020-05-28 19:26:44 +01:00
  • 2d62a58c9b
    Made snakes spawn on odd or even diagonal points (#14). Fixes #12. sjbcastro 2020-05-26 23:07:43 +01:00
  • 68043109a5 Fix function name and interface tests. Brad Van Vugt 2020-05-17 14:38:39 -07:00
  • fe2a415cac Add solo gameplay ruleset. Brad Van Vugt 2020-05-17 14:29:30 -07:00
  • 71fc6bf503 Add game over detection to each ruleset. Brad Van Vugt 2020-05-17 14:22:09 -07:00
  • 44b6b94666
    Add TeamRuleset (#13) Brad Van Vugt 2020-02-20 10:24:44 -08:00
  • 8153585f57
    Add "EliminatedBy" to snake eliminations. (#11) Brad Van Vugt 2020-02-19 11:44:48 -08:00
  • a241c526b2 Merge branch 'master' of github.com:BattlesnakeOfficial/rules Brad Van Vugt 2020-02-19 11:15:10 -08:00
  • 021b363822 Add comment to make sure random spawns are always same color. Brad Van Vugt 2020-02-19 11:15:03 -08:00
  • ccd7a4e47d Maintain at least 1 food on board at all times. bvanvugt 2020-02-01 10:47:15 -08:00
  • 6edb4ce5d4 Reduce standard food spawn to a 15% chance. bvanvugt 2020-01-15 16:42:43 -08:00
  • d7b4663ef4 Bump food spawn rate to better match previous algorithm. bvanvugt 2020-01-14 16:39:41 -08:00
  • 37a4f3585b Remove dead code from unit tests. bvanvugt 2020-01-14 16:39:26 -08:00
  • 60c0b149ba Merge branch 'master' of github.com:BattlesnakeOfficial/rules bvanvugt 2020-01-09 13:59:03 -08:00
  • 20c42a7a72 Constant whitespace. bvanvugt 2020-01-09 13:58:49 -08:00
  • b69d768b13 correct error message Brad Van Vugt 2020-01-05 21:53:11 -08:00
  • 9c13dea6c0 Add error cases to standard move resolution. Brad Van Vugt 2020-01-05 21:03:54 -08:00
  • 73085679f6 Merge branch 'master' of github.com:BattlesnakeOfficial/rules Brad Van Vugt 2020-01-05 17:08:18 -08:00
  • 7854e11e51 Package name rulesets -> rules. Brad Van Vugt 2020-01-05 17:08:05 -08:00
  • 2f7df375f7
    Update main.yml Brad Van Vugt 2020-01-03 15:42:02 -08:00
  • fb95123bb6
    Update main.yml Brad Van Vugt 2020-01-03 15:35:40 -08:00
  • 6af2480a30
    Update and rename ci.yml to main.yml Brad Van Vugt 2020-01-03 15:32:27 -08:00
  • 9e11ef95c8 Allow ci to run against pr (#7) Daniel Steuernol 2020-01-03 15:12:48 -08:00
  • f15d7b53d5 Merge branch 'master' of github.com:BattlesnakeOfficial/rules Brad Van Vugt 2020-01-03 12:56:47 -08:00
  • 72b6d78c93 More test coverage. Brad Van Vugt 2020-01-03 12:56:33 -08:00
  • 01d0951b7d
    Add Codecov badge to README Brad Van Vugt 2020-01-03 11:53:01 -08:00
  • 9f411e097c Add Codecov to CI Pipeline Brad Van Vugt 2020-01-03 11:49:25 -08:00
  • 7d29514b6c More test coverage for StandardRuleset. Brad Van Vugt 2020-01-03 11:39:19 -08:00
  • 010b3aa08f Rename consts, remove pointers where not wanted/needed, snake placement tests. bvanvugt 2020-01-02 16:10:33 -08:00
  • 53d57d8e6a Update README bvanvugt 2020-01-01 23:10:49 -08:00
  • 167e9b3d4a
    Create CODEOWNERS Brad Van Vugt 2020-01-01 17:56:42 -08:00
  • e7bddb9521
    Create .gitignore Brad Van Vugt 2020-01-01 17:48:46 -08:00
  • ad1dbf5121 Merge branch 'master' of github.com:BattlesnakeOfficial/rules Brad Van Vugt 2020-01-01 17:46:08 -08:00