Hi all,
the game has now got a A.I. but it's not the greatest A.I. i think.
So my question: Has anyone an Idea how the A.I. worms could be better?
Would be great if you had suggestion.
some of the keys block each other. So you can't shoot and turn in one direction at the same time. It would be better if you could.
You are probably using code like this:
if (Greenfoot.isKeyDown("anyKey")) {
...
}
else if (...
If you leave out the else it should work better.
I need your help again:
I think see where the balls bounce off (in the souce) but what I don't understand is how the balls bouce off with an angle different to the angle they had before.
So, how can the balls know how is the angle of the earth?
2012/10/22
Lab3 – Music is fun
2012/10/17
Tanker time
2012/10/17
Call of Worms: World at War
2012/10/17
Call of Worms: World at War
2012/10/17
Call of Worms: World at War
2012/10/17
Call of Worms: World at War
2012/10/17
Tanker time
2012/10/17
Gravity Engine
2012/10/15
Gravity Engine