Raijinhai

Play in Browser

Raijinhai is a real-time multiplayer browser strategy game where two players secretly commit one piece per round, then reveal and resolve the duel. Win by destroying your opponent's King, outsmarting them with rank-based combat, or landing a rare special matchup like Queen over King or a one-time Raijin Indra play. Every round is a small bluffing puzzle: you are trying to read what your opponent might commit while hiding your own intentions until the board opens.

I built it as a full-stack project with Phaser 3 on the frontend and Node.js, Express, and Socket.IO on the backend. The Phaser client handles scene flow, drag-and-drop piece selection, and reveal animations, while the server manages lobbies, matchmaking, and authoritative duel resolution over WebSockets so neither player can cheat the outcome. Webpack and Babel bundle the client, and the whole thing deploys on Heroku. I designed the art and built the full pipeline myself, from UI and game logic to networking and deployment.