CK Logo
Bootcamps
Projects
Post main image

Casino Game

You can play poker, blackjack and slots with friends

Employed phaser to design the main floor. This allows us to implement the movement of the different characters that can be in the same lobby and manage the collision with the different games and the leaderboard. Incorporated socket.io as a server to create or join an existing lobby and display all the players. At the same time every action that the player does in a game is displayed in the chat of the game, we accomplish this by emitting to the correct socket. Used pure Javascript for dynamic animation of the slot machines, making spin and stop after a few seconds.

3
2