P2P Card Game
Role
Programmer
Genre
Online Multiplayer Card Game
A digital port of Kazuki Takahashi's game "Drump" - a 1v1 card game.
Tools
Godot
Game
My main goal for this project was to make an online multiplayer game that was easily accessible to play. I decided on porting over "Drump" because I am a big fan of card games and a turn-based game is an approachable online game to develop in a reasonable amount of time.
Networking
To achieve this goal I settled on making a client that was playable on web browsers so that they would also work on mobile devices. I also wanted clients to connect peer-to-peer to avoid having to host game servers.
Client
The client uses Godot's High level API to initiate the WebRTC connection.
The game logic is mainly driven by RPCs which make calls to a Game Manager on both ends.
Server
Even though the gameplay is peer-to-peer a server is still required to act as a signaling server for establishing the WebRTC connections between peers.
I took this opportunity to also add a light lobby system to enable players to find each other for matches.


