Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 445 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 445 Bytes

cave-generation

generate_cave.py

  • The levels will generate differently depending on the values of GRID_SIZE, INITIAL_CHANCE, NUMBER_OF_STEPS, BIRTH_LIMIT and DEATH_LIMIT.

  • By default returns a GRID_SIZE×GRID_SIZE matrix of 1-s and 0-s

display_cave.py

  • The single purpose of this file is just to display the generated outcome

screenshot