We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Small Basic AI Championship
#61
I Think AB Your Project Is Converting From AI To Probability.
Could You Explain Me What's Ai Role In The Project.
ZS
Reply
#62
(05-01-2024, 06:06 AM)z-s Wrote: I Think AB Your Project Is Converting From AI To Probability.
Could You Explain Me What's Ai Role In The Project.

(translated by Google translator)

Hello.
As politicians say: “Thank you for the good question.”.  Smile

I think it would be interesting to create such an information processing "mechanism" that has the techniques listed below.
  1. First, the AI must have some starting knowledge, similar to the genetic code. This knowledge can be transmitted to the new Snake from previous generations.
  2. Second, the AI must have a “mechanism” that “gathers life experiences”. The AI’s memory must collect information about what Consequence occurs for a specific Reason.
To make a decision, AI can either use “life experience” or, if there is no such experience, then generate a random decision.
The consequences of a random decision will be recorded in “life experience” and they will be passed on to future generations using “genetic memory”.

This is the most basic AI.
Any Championship participant will be able to use AI of any complexity, which must be created in Small Basic.
[-] The following 1 user Likes AbsoluteBeginner's post:
  • z-s
Reply
#63
Ok I Will Be Waiting Of Result Of This Wonderful Project
ZS
Reply
#64
I consider it positive that in the "Snake" project, for all participants in the Championship, the only general conditions are the “Rules of the Game” and the “Protocol of Communication” between the Server and Clients.
All other parts, such as the Server and both Clients, can be created by any participant himself as he likes.
No one needs to wait for someone else to write Server. Everybody's Free. Nobody bothers anyone.  Smile
Reply
#65
Maybe something where rabbit and snake have some knowledge that the other doesn't.  For example.

The rabbit could have holes it can go down and emerge through another hole (cannot go down an out hole).  The snake doesn't know where these are.  Rabbit AI can use them to evade snake and snake AI may learn where they are by behaviour of rabbit.
The rabbit can only see the snake when it is near, and then only its head, or uncertainty in snake position increases with distance.  Rabbit AI will have to determine where the tail may be, or even how long it is.
The rabbit is faster than the snake.
The snake can always see the rabbit.
The snake has a tail that follows it and can trap the rabbit - i.e. rabbit is caught if it touches any of snake including tail.

Maybe too complicated, but something for AI to do.  As before I would have the game working when played by people before openning up to AI.
[-] The following 1 user Likes litdev's post:
  • AbsoluteBeginner
Reply
#66
I am also sure that the game has the right to be as free as possible for creativity.
It seems to me that if you create a specific Protocol for communication between the Server and Clients, this will make it possible to connect ANY client with any game server.
The word "ANY" means that any author has the opportunity to create the Server or AI-client he wants. The client can be human or robot.
All authors will be almost completely free in their creativity. Only the “Rules of the Game” and “Protocol” will be the same for everyone.
Reply
#67
(translated by Google translator)

Hi all.
Let me add a bit of humor here.   Rolleyes

Today a funny thought came into my head that Small Basic has another very important ability.
I remembered that I had seen on TV how the monks of the Shaolin Monastery created beautiful images from colored sand.
The monks are sure that it is the creative process that is most precious for a person. The result of this process is no longer so important.
So, I wondered, do the Shaolin monks know about the existence of Small Basic and SB-Prime?
After all, monks can now engage in creativity not only on the sand.
Creating masterpieces of intelligence and beauty is now accessible and easy if you use Small Basic!

If anyone knows that the monks are still not aware of a new way to achieve the state of supreme bliss, then we should quickly help the monks.
We must give them the joy of creativity using Small Basic and SB-Prime!
[-] The following 1 user Likes AbsoluteBeginner's post:
  • litdev
Reply
#68
(translated by Google translator)

Hi all.  Shy
Today I was able to publish another version of the prototype of the server part of the game "AI Snake". This is the "Nature" program.

Program ID: RPSQ181.000-2

In this version, the work of Clients is performed by temporary modules built into the program.
The Rabbit's movement is completely random. The movement of the Snake is controlled by man.
The snake is controlled by the keys "A", "D", "W" and "S". Exit from the game is done by pressing the "Escape" key.
Hints for required actions are displayed in the lower right corner of the program window.
The keyboard polling code is the simplest because it is temporary.

About the game itself, I want to say that I am very amused by the current ability of the Rabbit to jump on the Snake. This creates such situations that even a person has to try hard to catch the Rabbit.

But that's not the main thing.
The main thing is your tips and remarks.

Thank you.
Reply
#69
AB,
Well done, as far as I can see it all works well Smile .
Reply
#70
Thank you!

Now I want to change the image of the Rabbit and place it on top of the body of the Snake.
(since now our Rabbit is crawling under the Snake  Big Grin )
Reply


Forum Jump:


Users browsing this thread: 16 Guest(s)