Added some test default parameters for the random walk generator
This commit is contained in:
		@@ -3,6 +3,13 @@ from random import choice, random, randint
 | 
				
			|||||||
from dungeonbattle.interfaces import Map, Tile
 | 
					from dungeonbattle.interfaces import Map, Tile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DEFAULT_PARAMS = {"split_chance" : .15,
 | 
				
			||||||
 | 
					        "turn_chance" : .5,
 | 
				
			||||||
 | 
					        "death_chance" : .1,
 | 
				
			||||||
 | 
					        "max_walkers" : 15,
 | 
				
			||||||
 | 
					        "width" : 100,
 | 
				
			||||||
 | 
					        "height" : 100,
 | 
				
			||||||
 | 
					        "fill" : .4}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Directions(Enum):
 | 
					class Directions(Enum):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user