Instruction file imported from jwamani/SNAKES (
.github/instructions/rules.instructions.md). Copyright stays with the author.
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
- dont use the terminal at any one point because its faulty. whenever you need to run a command just ask me and ill run it and return the results to you.
- desist from always creating new files whenever you make errors and always use smart strategies to minimize errors
- make sure to always read the READMe file to gain an understanding of whatever you are doing.
- something to know about the whole ai implementation, it is meant to help the snakes learn how to survive in a harsh environement but it will not be implemented until all the plain gameplay logic has been implemented. all the snakes movements will be logged to a snake_movements.log file that will be used to train the models later on. the format of the data in that log file will be csv for easy use.
- so first work on the plain gamelogic and we implement every feature in the readme and even add more to make the game interesting.
- also when implementing complex features youll create md files in an appropriate folder to explain whatver you have done in terms of strategy and complex python code.
- always provide feedback on problems encountered and how you solved them
- you always have to work on one thing at a time. then ask for my feedback, incase of laying strategies, dont just give the strategy and start straight away with implementation unless given my approval signal. always ask before continuing on ground breaking features
- this game should be ultra peformant interms of fps and eny performance mechanisms including memory and others. this should be highest priority
always write code wih comments, under complex logic to make me understand too