A real-time/multiplayer card game that allows up to 4 player gameplay (Featuring - Exploding Kittens)
- Main Page
- Game Lobby
- Gameplay
- Chat Feature
- Login/Signup
- Profile
This is the main page of the website. Here contains the Navigation Bar on top, with the options to create a game room, join a game room, or join a random game room.
The game lobby allows users to communicate with each other and prepare to enter the gameplay. Up to 4 players are allowed to be in the game lobby at any time.
Lobby for joining players: Joining players do not have the option to start the game, that's a host privilege |
Once the game is started, players are taken to the game board. Here, there are several animations that bring the cards to life and make the game more fun. Players are able to hover over cards to see their description, drag cards upward to play them, and draw a new card. There are several unique abilities that cards can perform, including seeing the next three cards in the deck and cancelling out previous cards. Real time updates were achieved using web sockets to provide a seamless experience for all players.
Chat feature is available in the game lobby and during gameplay. The game chat allows players to communicate with each other more effectively while being immersed in the game. The chat notifies user's with a live notification badge, removing the need the keep the chat component open at all times but while being at ease that no message will be missed.
Users have the ability to login and/or signup for an account.
The profile page is only available for users who has an account. The user can access their profile page to see their username, avatar, game info, and friends. User also has the ability to change their username and avatar.
-
Install dependencies in Client:
- cd into blueocean/client
npm install
-
Make a copy of
example.env
and rename to.env
-
Install dependencies in Server:
- cd into blueocean/server
npm install
-
Run Servers:
- In client -
npm run start
- client run on PORT 3000
- In server -
npm run server
- server runs on PORT 5001
- In client -
-
Launch site: http://localhost:3000