I'm stuck trying to figure out how to do a loop like the one it describes:
The hive should do nothing for the first 400 turns. After that, the hive should release one bee at a time, randomly placing the bee in one of the five spots from (9, 1) - (9, 5). The hive should then wait a random delay between 80-400 turns before launching the next bee.
Here is what I have, but I'm still trying to configure it.
public void act()
{
int spawn = Random.generator().nextInt(321) + 80;
while (turns == 401)
{
this.produce();
bumbleBees--;
turns = 0;
break;
}
if (turns == 0)
{
this.produce();
}
turns++;
Can anyone give me a tip or show how I can format it the way this description is?
