← Back to all work

2025

Ultimate Pegs and Jokers

Ultimate Pegs is a faithful digital recreation of the beloved board game, which combines the strategy of Chess with the luck-of-the-draw of card games. The objective is simple: be the first team to race all of your pegs from your "Home" base, around the board, and into the safety of your "Safe" zone. Using cards from a standard deck (plus Jokers!), players move their pegs, "bonk" opponents to send them back to the start, and strategically use special cards like the all-powerful Joker to swap positions on the board. The game is best played in teams, where coordination and partnership are the keys to victory.

Ultimate Pegs and Jokers screenshot

Timeline

2 months

Stack

React · Nextjs · Tailwind CSS · Firebase

Outcome

Real-time 2v2 multiplayer with in-game chat and spectator mode on Firestore

The problem

Pegs and Jokers is a beloved family board game — part chess strategy, part card-draw luck — but it only works when everyone's around the same table with the physical board. Ultimate Pegs set out to bring that experience online faithfully, so partners can play their favorite team game together no matter where they are, without losing the rules and rituals fans already love.

The build

Built with Next.js, React, and Tailwind CSS, the game runs on Firebase Firestore for smooth real-time multiplayer and secure Google/email authentication. A lobby system handles shareable invite links and team arrangement before a match starts, and AI fills the gaps: smart bots take empty seats so a game can start anytime, and a game-strategist AI offers move suggestions when a player is stuck. Customizable rule variations (splitting 7s, backward 8s) preserve the house rules different groups play by.

Meet Sir Reginald Pegsworth

The face of our game is the debonair and slightly mischievous Sir Reginald Pegsworth, the Joker himself. Legend has it that Sir Reginald was once a humble peg, dutifully marching around the board like any other. But after a particularly brilliant move involving a clever backwards jump and a triple-bonk, he was granted the honorary title of Joker by the “Board of Elders.”

No longer bound to a single color or team, he now roams the board as a free agent, a master of chaos and opportunity. His iconic top hat and monocle are said to be trophies from a high-stakes game against a team of misguided chess pawns. He embodies the spirit of the game: a perfect blend of distinguished strategy and playful unpredictability. His image on the Joker card is a reminder that in Ultimate Pegs, one clever move can change everything.


Features

  • Classic Gameplay: All the rules you know and love, including special moves for Aces, Jacks, Eights, and Jokers.
  • Team Play: Exciting 2v2 matches that require strategic coordination with your partner.
  • Real-Time Multiplayer: Smooth, real-time gameplay powered by Firebase Firestore.
  • AI-Powered Move Suggestions: Stuck on a move? Get a hint from our game-strategist AI.
  • Smart AI Bots: Don’t have enough players? Fill empty seats with intelligent AI bots to start a game anytime.
  • Game Lobby System: Set up your game, invite friends with a shareable link, and arrange teams before you start.
  • In-Game Chat: Coordinate with your teammates or engage in friendly banter with your opponents.
  • Spectator Mode: Join a game in progress to watch the action unfold.
  • Customizable Rules: Choose to play with popular rule variations like splitting 7s or moving backwards with an 8.
  • Secure Authentication: Sign in with Google or Email/Password, with user data managed securely.

How to Play

  1. Objective: Be the first team to get all of your pegs from your Home area into your Safe zone.
  2. Get Out of Home: Use an Ace, King, Queen, or Jack to move a peg from your Home to your “Come Out” spot on the main track.
  3. Move Your Pegs: Play cards from your hand to move your pegs forward. The card’s rank determines the number of spaces you can move (e.g., a ‘5’ moves 5 spaces).
  4. Bonk Opponents: If your move ends on a space occupied by an opponent’s peg, their peg is “bonked” and sent back to their Home.
  5. The Joker: The Joker is the ultimate card! Use it to swap one of your pegs (from Home or the track) with any opponent’s peg on the main track.
  6. Teamwork: Once all your pegs are in the Safe zone, you can use your cards to move your teammate’s pegs.
Ultimate Pegs and Jokers screenshot 1
Ultimate Pegs and Jokers screenshot 2
Ultimate Pegs and Jokers screenshot 3
Ultimate Pegs and Jokers screenshot 4
Ultimate Pegs and Jokers screenshot 5
Ultimate Pegs and Jokers screenshot 6
Ultimate Pegs and Jokers screenshot 7
Ultimate Pegs and Jokers screenshot 8
Ultimate Pegs and Jokers screenshot 9
Ultimate Pegs and Jokers screenshot 10
Ultimate Pegs and Jokers screenshot 11
Ultimate Pegs and Jokers screenshot 12
Ultimate Pegs and Jokers screenshot 13
Ultimate Pegs and Jokers screenshot 14

The outcome

The game delivers faithful 2v2 team play online with all the special moves — Aces, Jacks, Eights, and the position-swapping Joker — intact. Real-time multiplayer, in-game chat, a spectator mode, and AI bots mean a full game can come together on demand, whether or not four humans are available.

  • Real-time 2v2 multiplayer with in-game chat and spectator mode on Firestore
  • Smart AI bots to fill empty seats and AI-powered move suggestions
  • Lobby system with shareable invite links and pre-game team setup
  • Customizable rule variations plus secure Google/email authentication

Have a similar problem?

Book a 30-minute call and we'll scope it together — no pitch, just a plan.

Book a call →