This commit will align piece to their in game position #48

Merged
tonitch merged 4 commits from pieceDrawing into master 2023-05-11 20:09:46 +02:00
Owner

Finish #47 before this one

TODO:

  • make selected piece at first plane
  • check if the board is completed to win the game
Finish #47 before this one TODO: - [x] make selected piece at first plane - [x] check if the board is completed to win the game
tonitch added 8 commits 2023-05-11 11:53:39 +02:00
limit piece matrix to their minimum size
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
90d6d47cc8
When a piece is placed at a position, check if this space is placable and place it there.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
4f821b44bc
Piece overlap detection
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
334e0ad99b
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
leaving debug printing and reseting piece position if not placed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
0f1ecc753b
align piece when placed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
cb54e753d7
tonitch added 2 commits 2023-05-11 12:02:23 +02:00
selected piece get to the front
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
e424cdca4e
tonitch added 1 commit 2023-05-11 12:25:33 +02:00
Check if the baord is completed and return to main menu
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
def25d9e38
tonitch changed title from WIP: This commit will align piece to their in game position to This commit will align piece to their in game position 2023-05-11 12:25:39 +02:00
Author
Owner

This is also finish, again check #47 before this one.

The game now wait till you completed the board and send you back to the main menu

This is also finish, again check #47 before this one. The game now wait till you completed the board and send you back to the main menu
tonitch requested review from Mat_02 2023-05-11 12:26:23 +02:00
Mat_02 approved these changes 2023-05-11 16:30:58 +02:00
tonitch merged commit 3e4b4d257e into master 2023-05-11 20:09:46 +02:00
tonitch deleted branch pieceDrawing 2023-05-11 20:09:47 +02:00
Sign in to join this conversation.
No description provided.