Commit Graph
38 Commits
Author SHA1 Message Date
tonitch 99b3f16e1c removing println to stop spamming the console
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-17 18:57:59 +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