Make an AI for a Penguin Wars like game

Get help using Construct 2

Post » Fri Jan 03, 2014 10:06 pm

Penguin Wars video

The participating animals find each other on opposite sides of a square table with five balls on each side. The object of the game is to roll those balls over the table. As soon as all ten balls are on one player's side, that player loses the game.


How can I make an AI for this game?
B
12
S
1
Posts: 46
Reputation: 1,853

Post » Fri Jan 03, 2014 10:22 pm

I guess it would be something like, on timer, pick ball instance at top of table, move to ball, throw in random direction, set timer to random time..

But it all depends on how intelligent you want your ai.

you could choose to pick nearest instead of random, increase the moving speed of the enemy, shorten the timer, etcetera..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jan 04, 2014 10:22 pm

Thank you =)
B
12
S
1
Posts: 46
Reputation: 1,853


Return to How do I....?

Who is online

Users browsing this forum: Sparkz and 1 guest