Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 974 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 974 Bytes

BattlesnakeTester

There are 2 sets of tests (normal and hard). Normal tests should be cases where failing the test results in you dying or a very high chance of death. Hard tests can be special situations where certain moves might be arguably better than others, but don't necessairly mean certain death. Hard tests often involve more looking ahead or prediction.

Need to add the sleep module first : npm install sleep

To run normal tests: npm --host=localhost --port=8000 run test

or: npm --host=snake.com run test

For hard tests, replace test with hard_test. Eg. npm --host=localhost --port=8000 run hard_test

Open Invite

If you have any questions, or just wish to chat about Battlesnake or programming in general, feel free to reach out! I like talking with people and sharing tips and tricks.

You can reach me at [email protected], or catch me in [Battlesnake Slack][slack] (username: @Nettogrof).