Redesigning the popular Player vs Player Board Game of Snakes and Ladders with JavaFx
A quick way to play your favourite board game with small subtle touches to make the gameplay experience feel more fun, immersive and satisfactory.
-JavaFx
-Multithreading
-Encapsulation, Polymorphism and Extraction
-Error handling
-Movement animations
-Fluid Die roll animation
-Ladder climbing
Alongside the standard gameplay features, the following features have been implemented
-Ripple effect on tap
-Player Menus(Pause menu, winscreen etc.)
-Multipoint fluid snake tracing animation(implemented using path transitions on polylines)
-Ingame player display bar switches between players turns
-Cleaner window UI of the JavaFx window
Gameplay.mp4
The players unlock their tokens by receiving 1 on a die roll. The player cannot move till their token has been unlocked. Once unlocked, the token may move.
After unlocking, the players will move their pieces from left to right, starting at 1, following the numbers on the board, then the next row from right to left and repeat. If a player rolls a 4, then the player would move their piece four places.
When a player lands on a top of a snake, their playing piece will slide down to the bottom of the snake. Whereas landing on the bottom of a snake the player will remain in the same spot until their next turn.
When a player lands at the base of a ladder, it immediately climbs to the top of the ladder. Whereas landing at the top of a ladder the player will stay there until the next turn. The player does not move to the bottom of the ladder.
The first player that reaches the highest space on the board, 100, wins the game. To win the player will need to roll the exact number to get you to the last space. If the player rolls a higher number than needed to land exactly on 100, their piece does not move and remains there until their next turn, when they can roll again.
(source: https://www.ymimports.com/pages/how-to-play-snakes-and-ladders)