05-15-2024, 11:03 AM
(translated by Google translator)
I was writing code for my "AI Snake". I completed the Snake's manual movement module and tested how it works.
Everything was normal.
Then I began to write a module for analyzing the current situation. In my code, the analysis of the situation does not in any way affect the calculation of the position of the figures on the playing field. But, at this moment I updated SB-Prime from the program.
After the SB-Prime update, quite a lot of text disappeared in the menu lines that appear when you right-click on the text field. The title text of the "Debug" tab has also disappeared. Then I downloaded the SB-Prime archive from the site using a browser, and launched SB-Prime from the archive. But the text in SB-Prime was still missing. And I continued writing code, ignoring the lack of text in the menu.
I thought these were temporary minor problems that would be fixed quickly. But then errors appeared in the work of my “Snake”.
Every time I changed the direction of the Snake's movement, its head began to occupy the wrong position relative to the rest of the body.
I checked the code, but the code has not changed.
I started using the old version of SB-Prime again, but the problem with the position of the Snake's head did not disappear.
Then I turned to the forum for help.
If I have to write and test a separate code example, then I will do it.
But first, I probably should install the SB-Prime update correctly.
I'm right?
I was writing code for my "AI Snake". I completed the Snake's manual movement module and tested how it works.
Everything was normal.
Then I began to write a module for analyzing the current situation. In my code, the analysis of the situation does not in any way affect the calculation of the position of the figures on the playing field. But, at this moment I updated SB-Prime from the program.
After the SB-Prime update, quite a lot of text disappeared in the menu lines that appear when you right-click on the text field. The title text of the "Debug" tab has also disappeared. Then I downloaded the SB-Prime archive from the site using a browser, and launched SB-Prime from the archive. But the text in SB-Prime was still missing. And I continued writing code, ignoring the lack of text in the menu.
I thought these were temporary minor problems that would be fixed quickly. But then errors appeared in the work of my “Snake”.
Every time I changed the direction of the Snake's movement, its head began to occupy the wrong position relative to the rest of the body.
I checked the code, but the code has not changed.
I started using the old version of SB-Prime again, but the problem with the position of the Snake's head did not disappear.
Then I turned to the forum for help.
If I have to write and test a separate code example, then I will do it.
But first, I probably should install the SB-Prime update correctly.
I'm right?