{"repo":"BattlesnakeOfficial/rules","free":true,"listed":false,"github":"https://github.com/BattlesnakeOfficial/rules","clone":"git clone https://github.com/BattlesnakeOfficial/rules.git","description":"Battlesnake Game Rules and Logic","language":"Go","stars":107,"topics":["battlesnake","cli","game-rules","game-logic"],"license":"AGPL-3.0","category":"cli-tools","readme_excerpt":"BattlesnakeOfficial/rules Battlesnake rules and game logic, implemented as a Go module. This code is used in production at play.battlesnake.com. Issues and contributions welcome! CLI for Running Battlesnake Games Locally This repo provides a simple CLI tool to run games locally against your dev environment. Installation Download precompiled binaries here: https://github.com/BattlesnakeOfficial/rules/releases Install as a Go package. Requires Go 1.18 or higher. [Download] Compile from source. Also requires Go 1.18 or higher. Usage Example command to run a game locally: For more details, see the CLI README. FAQ Can I run games locally? Yes! See the included CLI. How is this different from the old Battlesnake engine? The old game engine was re-written in early 2020 to handle a higher volume of concurrent games. As part of that rebuild we moved the game logic into a separate Go module that gets compiled into the production engine. This provides two benefits: it makes it much simpler/easier to build new game modes, and it allows the community to get more involved in game development (without the maintenance overhead of the entire game engine). Feedback Do you have an issue or suggestions for this repository? Head over to our Feedback Repository today and let us know!","default_branch":null,"files":null,"tree":[],"storefront":"/r/BattlesnakeOfficial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BattlesnakeOfficial/rules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}