09-14-2024, 07:42 PM
(This post was last modified: 09-14-2024, 07:43 PM by AbsoluteBeginner.)
(translated by Google translator)
Dear Small Basic fans,
I just put the latest version of the game "Retro Football" into my OneDrive. ( Retro Football v0_0401 with AI.sb )
This version is notable because I used a ball search by image and parallel operation of two computation threads (asynchronous subroutine call).
These were unexplored topics for me.
In addition, this version of the game gives the opportunity to organize AI Football matches BETWEEN TWO ROBOTS.
Now, the right team of football players is controlled by a person, moving the mouse across the graphic window.
The left team is controlled by a robot that determines the position of the ball on the field using "vision".
(on my slow tablet, the robot takes up to 4 game cycles to make its decision)
But (!)...
Thanks to the LitDev extension, not only a person can move the cursor around the graphic window.
Therefore, every fan of cyber SB sports can write an AUTONOMOUS SB program, which will also "see" the ball on the field, using "vision" and will be able to control the right team of football players, moving the cursor on the screen.
Thus, two "sighted" robots can compete with each other.
(what do you think about our Small Basic now? )
Dear Small Basic fans,
I just put the latest version of the game "Retro Football" into my OneDrive. ( Retro Football v0_0401 with AI.sb )
This version is notable because I used a ball search by image and parallel operation of two computation threads (asynchronous subroutine call).
These were unexplored topics for me.
In addition, this version of the game gives the opportunity to organize AI Football matches BETWEEN TWO ROBOTS.
Now, the right team of football players is controlled by a person, moving the mouse across the graphic window.
The left team is controlled by a robot that determines the position of the ball on the field using "vision".
(on my slow tablet, the robot takes up to 4 game cycles to make its decision)
But (!)...
Thanks to the LitDev extension, not only a person can move the cursor around the graphic window.
Therefore, every fan of cyber SB sports can write an AUTONOMOUS SB program, which will also "see" the ball on the field, using "vision" and will be able to control the right team of football players, moving the cursor on the screen.
Thus, two "sighted" robots can compete with each other.
(what do you think about our Small Basic now? )