Briscola - a web version of the classic Italian card game

Jason Obeid

Try it out with a friend here - jasonobeid.github.io/briscola/
This project was a fun side endeavour I created a couple of years ago.
The frontend is built using HTML, CSS, TypeScript, React, and Tailwind.
One of my goals was to avoid running a server for the game logic, so I leveraged the library boardgameio/p2p. This is a peer-to-peer implementation of the popular boardgame.io game engine, built on peerjs, which uses WebRTC to enable peer-to-peer connections in web environments. This approach eliminates the need for servers, making it ideal for a simple side project that might not see frequent use.
As a starting point, I referred to the repository aflorj/briscola, which is an implementation of Briscola in boardgame.io. I adapted it to work with boardgameio/p2p and tailored it to suit my requirements. Along the way, I discovered the Triestine variation of cards, which was different to the Neapolitan cards that I was familiar with.
The card deck is based on the Napoletane cards by Modiano. All credit for the original card designs goes to them. I cleaned the Wikipedia reference image to bring the cards into the web app.
For more reading on the game, check out the Wiki:
Like this project

Posted Mar 18, 2025

This is one of my favourite card games. I grew up playing it often with family. As a fun side project, I re-created it for online play.

Podcaster - a free podcast player website
Podcaster - a free podcast player website
Chart-to-Text: Generating Natural Language Chart Explanations
Chart-to-Text: Generating Natural Language Chart Explanations