Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strakam committed Dec 23, 2024
1 parent 6255fa1 commit 70f61ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ import gymnasium as gym
from generals import GridFactory

grid_factory = GridFactory(
grid_dims=(10, 10), # Dimensions of the grid (height, width)
min_grid_dims=(10, 10), # Grid height and width are randomly selected
max_grid_dims=(15, 15),
mountain_density=0.2, # Probability of a mountain in a cell
city_density=0.05, # Probability of a city in a cell
general_positions=[(0,3),(5,7)], # Positions of generals (i, j)
Expand Down

0 comments on commit 70f61ef

Please sign in to comment.