Play Connect 4 online with friends
- Users can have private 1v1 matches with other users by creating or joining a room.
- The User can exchange messages via chat once they are connected.
- Users can play Connect 4 locally without connecting to a room.
To create a room, first, give yourself a username (if this is null, then it will default to 'Guest'), and click Create Room
.
This will generate a room with a unique ID, to invite another user, simply give them the ID.
To join an existing room, first, give yourself a username (if this is null, then it will default to 'Guest'), enter the room ID that is given to you, and click Join Room
.
If the room exists and it is not full, you will be allowed in.
To start a match, once the room has hit capacity (2 players), the game will automatically start, whoever goes first will be yellow and the other will be red. The game will end once a winner is found.
To leave, simply click the Leave Room
button or refresh the page. This will automatically disconnect you from the room and route you back to the homepage. Please keep in mind that this will also disconnect the other user. The match will also end if you leave midgame.
https://connect4-41333.web.app/
Built using React and SASS and deployed using Firebase
Built using Express and Socket.io and deployed using AWS