← Back to Work
Image describing Pixel Card Game — Scala Quaranta
Game Dev

Pixel Card Game — Scala Quaranta

A 2D pixel-art implementation of Scala Quaranta, the Italian rummy card game, built in Unity.

Pixel Card Game is a personal project recreating Scala Quaranta — a variant of Italian rummy — as a 2D pixel-art game. It's played with two 52-card decks plus four jokers (108 cards) and 13-card hands, where players draw and discard to build melds (sets and runs) and a player's first lay-down must total at least 40 points ("quaranta").

I built it in Unity 6 with C#, using the Universal Render Pipeline (URP) 2D renderer and the new Input System. The architecture cleanly separates the card model and rules engine from the UI: the game can run headless for logic testing, while the interactive table builds its entire interface (canvas, piles, cards, and buttons) at runtime.

The project let me deepen my C# skills and practise designing a non-trivial rules engine — meld detection, lay-offs, and turn flow — alongside building an interactive, drag-to-reorder card interface.

Technologies Used

UnityC#