Wanted - Updates to the Ruby Starter Project #116
aurorawalker
started this conversation in
Feature Requests
Replies: 2 comments 1 reply
-
Note - if you are looking at this because of Hacktoberfest, your pull request can be just one of these three improvements, as every bit helps! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there any way to move the Ruby starter template from master to main? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Ruby Starter Project was rotated into community support in 2021, and there are a number of possible improvements that would increase it's quality and make it more similar to the Official Starter Projects.
Update the Battlesnake 'random' movement algorithm such that it never selects the direction that would cause it to collide with its own heck.
Update Comments/inline documentation:
The function-level comments to link to the Game Board data (example: https://github.com/BattlesnakeOfficial/starter-snake-python/blob/main/server_logic.py#L38)
The in-line comments to provide hints/suggestions on what next steps should be for the user. It must be similar to comments documented here: https://github.com/BattlesnakeOfficial/starter-snake-python/blob/main/server_logic.py#L63
Update/create a simple test suite
Ideally the test suite is a starting place, for developers who are using the Starter Project template to build a Battlesnake, to be able to test their own code via common Rust testing tools, using built-in libraries if and when possible. The ReadMe file should also be updated to include any instructions on how to run the test suite.
It should be similar in purpose/ability as the test suites in the other official starter projects such as:
Official Typescript Starter Project
Official Javascript Starter Project
Official Go Starter Project
Official Python Starter Project
Beta Was this translation helpful? Give feedback.
All reactions