Menu

#360 Defining bot starting positions with runBattle doesn't work

Future Release
wont-fix
None
3
2026-07-13
2013-04-28
MikeWorth
No

I'm trying to make battles reproducible by randomly generating starting positions from a known seed, however this feature doesn't seem to work. By playing about with manually setting these values I have discovered that the first two numbers in the string seem to set bot 1's x position and bot 2's x position, while I can't see any effect by changing any others.

Another issue I have is that I want different starting positions for each round, is this supported?

You can see the code I'm using here: https://github.com/MikeWorth/RoboNucleicAcid/blob/master/src/rna/RobotLeague.java#l53

Thanks,
Mike

Discussion

  • Flemming N. Larsen

    • status: closed --> accepted
    • Group: 1.8.2.0 --> Future Release
     
  • Flemming N. Larsen

    • status: accepted --> wont-fix
     

Log in to post a comment.