Table of Contents
Intro
If you’ve recently finished Star Wars Outlaws on the PS5, you might have come across the card minigame known as Kessel Sabacc. Inspired by this engaging gameplay, I decided to recreate Kessel Sabacc as a web game using JavaScript. Here’s a brief overview of the project and its features.
What is Kessel Sabacc?
Sabacc is a popular card game in the Star Wars universe, often played by smugglers and other characters looking to test their luck and skill. It is also the game where Han Solo won the won the Millennium Falcon from Lando Calrissian in a game of “Corellian Spike” sabacc. There are a lot of different variants of this game (see this Wiki) but the developers of Star Wars Outlaws decided to create a new (more accessible) variant for their game: Kessel Sabacc.
Development Process
Creating this web game was an interesting challenge. I chose JavaScript for its versatility, allowing me to build an interactive experience alongside HTML and CSS for the layout and design. The initial steps involved outlining the game mechanics, including how cards would be dealt and how scoring would work.
One of the more complex aspects was implementing the unique rules of Kessel Sabacc, particularly the dynamic card values. I aimed to ensure that the game felt authentic while remaining accessible to players.
Game Highlights

- Simple UI: The user interface is designed to be straightforward, making it easy for players to navigate the game without unnecessary distractions.
- Random Opponents: Players can face off against randomly generated opponents, adding an element of unpredictability to each game session.
- Shift Tokens: Enable or disable shift Tokens. When enabled, you can manually select which shift tokens everyone uses or let the game’s randomizer choose.
- No Multiplayer: At this stage, the game is designed for single-player experiences only, allowing players to focus on honing their skills against AI opponents.
Conclusion
After several iterations of coding and testing, I have developed a playable version of Kessel Sabacc that captures the essence of the original game. While there are still features to be added, such as a leaderboard and multiplayer, the current version offers a solid introduction to the game.
If you’re a fan of Star Wars or simply enjoy card games, I invite you to try out my Kessel Sabacc web game. It’s a great way to engage with the Star Wars universe and experience the thrill of this classic card game. Any feedback is welcome. 🙂
Steve
January 9, 2026 — 04:14
Blurring the background during an imposter card dice roll hides what cards you have!? So I can’t remember what I needed so I then have take a guess on the dice.
Patrick
January 19, 2026 — 15:05
Thanks for your feedback, I removed the background blur to fix this issue.
Andew
February 21, 2026 — 00:37
Hi. I have really come to like Kessel Sabbacc. I am using an android when playing and the audio player keeps muting my YouTube app audio. You can mute the music but not the sound effects, I appreciate the sound effects and them ducking the YouTube app audio is a cool touch when played. It would be great if I could also mute the sound effects to listen to YouTube while playing if possible. Thank you, great work on building this.
Patrick
February 23, 2026 — 09:56
Thank you for your feedback! When starting a new game, there is an option to disable sound effects right below the background music. Does that help?
Kamran KI
February 7, 2026 — 07:42
Awesome! Great work.
Patrick
February 11, 2026 — 07:48
Thanks! 🙂
Jamie
February 20, 2026 — 07:16
Love it!! The only issue I had was with the shift token Exhaustion, I couldn’t select anyone to target. Other than that it worked great!
Patrick
February 20, 2026 — 08:26
Thank you! I’ll try to look into that issue. 🙂
François-Arnaud
February 24, 2026 — 23:42
Hi, the game is really nice congrats ! Will it have a multiplayer mode one day ?
Thanks 🙂 !
Patrick
February 25, 2026 — 08:09
Hi, thank you very much! 😀 Maybe I’ll try it, but time is really an issue at the moment…
Baldvin Jonsson
April 5, 2026 — 21:55
Hey. I was wondering if it would be possible to talk to you about your sabacc game?
Patrick
April 6, 2026 — 08:25
You can send your questions per email and I will try to answer them. 🙂
Baldvin Jonsson
April 19, 2026 — 14:02
I cant seem to find the email lol
Patrick
April 19, 2026 — 14:36
That’s mail@gamepat.net 😉
Sif
April 11, 2026 — 06:52
I don’t know if this was originally meant for mobile or desktop, but I had an idea for keyboard controls.
S = Stand
D = Draw
C = Confirm
Q = Sand Discard Pile
W = Sand Draw Pile
E = Blood Draw Pile
R = Blood Discard Pile
T = Shift Tokens
(I mostly play without shift tokens so I’m not as familiar with their positions)
Space = The return to main menu when you win or lose
Patrick
April 11, 2026 — 08:59
That’s a good idea! I’ll add it to the backlog for when I have more time. 🙂
Sif
April 11, 2026 — 09:41
I forgot to include, after drawing a card…
Z = Card on the left
X = Card on the right