Skip to content

Commit

Permalink
Update ore generation (#58)
Browse files Browse the repository at this point in the history
* uniform ore distribution

* Fixed possible ore locations

* Updated weight maps

* Fixed tests
  • Loading branch information
brandongasser authored Jan 4, 2024
1 parent 0172abe commit d35a3a0
Show file tree
Hide file tree
Showing 3 changed files with 256 additions and 356 deletions.
2 changes: 1 addition & 1 deletion game/quarry_rush/map/collectable/collectable_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class CollectableGenerator:
__board_size = 14 # This includes the borders. Field is 12x12
__ore_count = 100
__ore_count = 75

def __init__(self, seed: int = rand.randint(0, 8675309)):
with open('game/quarry_rush/map/collectable/collectable_weights.json') as f:
Expand Down
Loading

0 comments on commit d35a3a0

Please sign in to comment.