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.