School Project based on Cats Organized Neatly http://school.debucquoy.me/
Go to file
Debucquoy Anthony c6df656381
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
MapGenerator (#34)
This generate maps following a simple structure

First we choose map size depending on the difficulty

we grind the edge with a random pattern so the map is not just a square

we pick a random open piece and try to make a piece out of it between a size of 1 to 3

and we do this in a loop until all open spaces are filled

this is not the best but it's efficient

known problem:

- We can have sometime a lot of small pieces
- We can have weird shape, for instance pieces that are only connected by corner

I think this is technically not a problem in the end. but this could be changed

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #34
Reviewed-by: Mat_02 <diletomatteo@gmail.com>
2023-05-01 18:38:52 +02:00
app MapGenerator (#34) 2023-05-01 18:38:52 +02:00
gradle/wrapper adding missing wraper 2023-03-04 14:21:14 +01:00
JournalDeBord Bug journal de bord 2023-04-21 21:00:46 +02:00
misc pre-commit script for linux 2023-03-04 10:47:07 +01:00
prototypes fix the issue about the position of the footer 2023-04-02 23:37:35 +02:00
.drone.yml File Parser for levels (#18) 2023-04-21 20:00:15 +02:00
.gitattributes Default gradle implementation + openjfx 2023-02-20 15:15:48 +01:00
.gitignore Adding idea and pref to .gitignore 2023-02-24 13:55:29 +01:00
gradlew pre-commit script for linux 2023-03-04 10:47:07 +01:00
gradlew.bat Default gradle implementation + openjfx 2023-02-20 15:15:48 +01:00
README.md Update 'README.md' 2023-03-04 16:15:42 +01:00
settings.gradle Default gradle implementation + openjfx 2023-02-20 15:15:48 +01:00

School_Project

Build Status

School Project based on Cats Organized Neatly