I have this idea in my head to create a game where the player creates a bot and defines its behavior. The bot is then sent to an open world (a very simplistic one) and has to survive as long as possible.
Currently I'm trying to figure out the correct data format, in which I would store the behavior definition. Any advice?
The behavior should be defined as a simple set of conditions and actions. I'm thinking of some sort of tree structure where the inner nodes would be conditions and leaves would represent actions, but I'm having difficulties with comming up with something actually usable.
Thanks very much!