56 Commits
Author SHA1 Message Date
tonitch 58810fff0c corrections
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-20 23:37:22 +02:00
tonitch a98c3cd3e1 Last modification by tonitch
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-20 14:17:42 +02:00
tonitch 939f8566cd latex syntax
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-20 13:11:30 +02:00
tonitch 59fd891fd9 minor corrections
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-19 14:46:17 +02:00
tonitch e6853ab3d3 Parser de fichier + Consignes de base
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-19 10:20:11 +02:00
tonitch ff5ed0c85f correction fautes 2023-05-19 10:20:11 +02:00
tonitch 0330303129 Avancement global
- Section Personelle
- Generateur de niveaux
- Organisation
2023-05-19 10:20:11 +02:00
tonitch 0354679969 File Parser 2023-05-19 10:20:11 +02:00
tonitch 714e904d1c Base de Rapport 2023-05-19 10:20:10 +02:00
tonitch d52d1cab77 Clean the pieces position when restarting the game
continuous-integration/drone/push Build is passing
without that, the old pieces where still in game and this would break
the gameplay
2023-05-19 00:32:44 +02:00
tonitch 9bc66ad6b1 Solve the position problem
continuous-integration/drone/push Build is passing
The position was set to (70,76) for all floating pieces because it was
the value received.
nowk, if thes values are given (for the characters F & L as specified in
the specification in the rapport), the piece is set in a floating state
(position = null)
2023-05-19 00:32:26 +02:00
tonitch 41be423f94 Draw the piece at their places at the start of the level
continuous-integration/drone/push Build is passing
2023-05-19 00:32:12 +02:00
tonitch 774c594cb8 avoid too bright colors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-18 19:46:19 +02:00
tonitch 8c8dacadd0 Bug Correction, Load Button linked
continuous-integration/drone/push Build is passing
2023-05-18 19:24:01 +02:00
tonitch a726019b18 lock fullscreen
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-18 19:11:43 +02:00
tonitch ff167b4d0f deleting piece position when clicked to avoid fantom pieces
continuous-integration/drone/push Build is passing
2023-05-17 23:41:55 +02:00
tonitch 34ea408202 stop piece screen overflow
continuous-integration/drone/push Build is passing
2023-05-17 22:38:00 +02:00
tonitch c9fdb4a7db removing println to stop spamming the console
continuous-integration/drone/push Build is passing
2023-05-17 20:43:20 +02:00
tonitch 3dd1b6b059 Less Small Pieces
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-12 11:38:21 +02:00
tonitch def25d9e38 Check if the baord is completed and return to main menu
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-11 12:24:56 +02:00
tonitch e424cdca4e selected piece get to the front
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-11 12:01:59 +02:00
tonitch 201eb3ec10 avoid piece to be placed when right clicking 2023-05-11 11:56:00 +02:00
tonitch cb54e753d7 align piece when placed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-11 11:51:53 +02:00
tonitch 0f1ecc753b leaving debug printing and reseting piece position if not placed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-11 11:47:16 +02:00
tonitch 334e0ad99b Piece overlap detection
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
there is 3 addition:
- `ArrayList getOccupation()` to get a list of all spot occupied by a piece
- Fixing a bug to rotate right where width and height where inverted
- Check if a piece is overlapping another when placing and refusing the
  placement if so
2023-05-11 11:34:50 +02:00
tonitch a35d823ec4 Adding documentation
continuous-integration/drone/push Build is passing
2023-05-10 23:09:57 +02:00
tonitch 4f821b44bc When a piece is placed at a position, check if this space is placable and place it there.
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-10 22:59:43 +02:00
tonitch 9aa09f8fbd Method to add a piece to a map with it's position 2023-05-10 22:55:42 +02:00
tonitch 90d6d47cc8 limit piece matrix to their minimum size
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-10 22:49:29 +02:00
tonitch 8ec5a622d8 isColumn/RowOnlyFalse 2023-05-10 20:22:20 +02:00
tonitch e7c7065a8d Adding MatrixRemoveRow/Column 2023-05-10 20:02:10 +02:00
tonitch 60bf1fa5d0 make white space on detached pieces
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-07 16:13:13 +02:00
tonitch 7c37c46830 Correct position on draging pieces 2023-05-07 16:13:13 +02:00
tonitch 6280b39c20 Cleaner code 2023-05-07 16:13:09 +02:00
tonitch 592780bb73 DownDate to java 11 2023-05-07 16:07:08 +02:00
tonitch e3d28b21b4 Positionning on the screen
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-05-07 16:07:07 +02:00
tonitch 7b6291bda9 Keep the Shape Size
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-05-07 16:07:07 +02:00
tonitch 382af6b541 Piece rotation 2023-05-07 16:07:07 +02:00
tonitch 15e1745ad1 Adding Gap and texture 2023-05-07 16:07:07 +02:00
tonitch 4583bbd7e6 set default color of pieces 2023-05-07 16:07:07 +02:00
tonitch c68e680768 Show Map and pieces shape in gameui 2023-05-07 16:07:05 +02:00
tonitch a7a3e8b36e DownDate to java 11
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-04 22:12:13 +02:00
tonitch e4478c878c trying to fix drone again
continuous-integration/drone/push Build is passing
2023-03-21 23:05:39 +01:00
tonitch 4854fef677 wip
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-03-21 09:56:13 +01:00
tonitch 71beb69c84 Changing addShape to AddPiece
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-03-20 23:57:10 +01:00
tonitch 8d88f01c9d Removing Position because my brain bugged
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-03-01 23:44:26 +01:00
tonitch e983c5aa13 Adding Map class
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-02-27 11:22:07 +01:00
tonitch 498529f29a Finishing RotateRight
Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2023-02-27 11:05:32 +01:00
tonitch e06abe60de Starting Piece Shape and Maps, WIP: wrong algorithm 2023-02-27 00:52:19 +01:00
tonitch 4055f12fba Starting Window 2023-02-25 13:55:35 +01:00
tonitch 0cba7899ab Adding idea and pref to .gitignore 2023-02-24 13:55:29 +01:00
tonitch 40b6c8cfb4 Default gradle implementation + openjfx 2023-02-20 15:15:48 +01:00
tonitch a74c78d8a9 finishing prototype 2023-02-20 12:37:04 +01:00
tonitch 90161800bc fixup! Première entrevue 2023-02-13 18:55:12 +01:00
tonitch 38feaa1a16 Première entrevue 2023-02-13 18:53:37 +01:00
tonitch 3c7aa9ad8f prototypes + jdb 2023-02-10 15:27:45 +01:00