So the parser basic is done, I just have to fix a few problems, for example, if there is an intricate loop, the parser will go to the first } which will result in wrong parsing. So e.g.
if 3 + 5 == 7
{
if 4 == 4
{
end
}
error
}
So this should only say error, if the first if is true, but even when it is false, the parser will go to the first } so it will also activate the error.
But I hope I will get that fixed, as it is an important part if this game will become as complex as I wish.
So let's go on with my new ideas.
You will have memory, you have to put on your robot. It will increase the number of codes and values you will have to save data, but will also result in heavier robot.
The weight and the number of wheels is relevant for the speed and rotateability of your bot.
The weapons might be distance and melee weapons, depending on the settings you do.
|