Commit Graph

13 Commits

Author SHA1 Message Date
Charles Peyrat
f5e5e365d4 Starting the implementation of the new map generator 2020-12-18 20:02:37 +01:00
Charles Peyrat
ba3d979f9c Fix syntax error 2020-12-18 18:10:52 +01:00
Charles Peyrat
5fbb918132 Add walls even to map borders 2020-12-18 17:05:50 +01:00
Charles Peyrat
fe9dfdf242 Syntax change in randomwalk.Generator.__init__ 2020-12-11 19:13:15 +01:00
Charles Peyrat
deb52d7350 Adding a missing parenthesis 2020-12-11 19:05:26 +01:00
Charles Peyrat
7667079aa3 Changed Map.large_neighbourhood so we can also request only immediate neighbours, ignoring diagonals 2020-12-11 18:33:16 +01:00
Charles Peyrat
c8b07b3bf5 Only empty tiles should be changed to walls, obviously... 2020-12-11 17:17:11 +01:00
Charles Peyrat
757a460a44 Fix typo 2020-12-11 17:13:12 +01:00
Charles Peyrat
6a4d13c726 Walls now generate around the floor 2020-12-11 17:09:59 +01:00
Charles Peyrat
7fb743eb72 Switching up start_x and start_y so the player spawn is correctly set 2020-12-11 17:02:22 +01:00
Yohann D'ANELLO
3c614dcca9 Linting 2020-12-11 02:19:59 +01:00
Yohann D'ANELLO
8751120fe1 Merge master into map_generation, there were some commit behind 2020-12-11 02:17:00 +01:00
Yohann D'ANELLO
7db2dd2b46 Merge branch 'master' into map_generation
# Conflicts:
#	dungeonbattle/game.py
#	squirrelbattle/mapgeneration/__init__.py
#	squirrelbattle/mapgeneration/randomwalk.py
2020-12-11 02:14:47 +01:00