View Single Post
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2011-02-04, 19:46

Quote:
Originally Posted by billybobsky View Post
I don't know the pygame modules, but wouldn't it possible to force the distribution to become more even at every generation, by eliminating a certain region of the map surrounding already placed items from contention for the placement of the next item?
I'm just using pygame for drawing. The distribution is literally just picking random coordinates and making sure there's not already something assigned to them.

That said, I tweaked the code to enforce a clear radius around each item to try to get a more even distribution. Here's a sample run with the reduced TNT count of 10 plus a water bucket.

edit: removed

Does that sort of arrangement look more fair?

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote