Charles Peyrat
|
c6f66d95f2
|
Fix typos
|
2021-01-08 04:48:32 +01:00 |
|
Charles Peyrat
|
6fbc757f1e
|
Implement method place_walls
|
2021-01-08 04:43:10 +01:00 |
|
Charles Peyrat
|
ffa7641b21
|
Made Map.neighbourhood a static method
|
2021-01-08 04:36:57 +01:00 |
|
Charles Peyrat
|
3229eb8ea7
|
Implement place_room method
|
2021-01-08 03:45:26 +01:00 |
|
Charles Peyrat
|
42f0c195aa
|
Add prototype for create_random_room; change return value of attach_doors and create_circular_room so we have info on door direction; minor syntax change
|
2021-01-08 03:43:20 +01:00 |
|
Charles Peyrat
|
ddbd0299a0
|
Implement method room_fits
|
2021-01-08 03:38:37 +01:00 |
|
Charles Peyrat
|
5cbf15bef5
|
Return value of Generator.run should be a Map
|
2021-01-08 03:37:10 +01:00 |
|
Charles Peyrat
|
bb3422f7d8
|
Add main generation loop
|
2021-01-08 03:19:59 +01:00 |
|
Charles Peyrat
|
5579f5d791
|
Room now can now generate with a corridor; implemenent door placement finding
|
2021-01-07 07:06:08 +01:00 |
|
Charles Peyrat
|
9fb366aaab
|
Make name follow style convention
|
2021-01-07 05:02:49 +01:00 |
|
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 |
|