Cyber WeekGame templates at Cyber Week pricesEnds in See the deals

Strategi · HTML5

Truco Showdown

Complete HTML5 Brazilian truco card game with a 50-match circuit

af Polar GamesVersion 1.0.0Opdateret 1. dec. 2026

  • Kildekode
Live-forhåndsvisning

BonusTake more, pay less

  1. 1
  2. 2+5%19% total
  3. 3+10%23% total
  4. 4+15%27% total
  5. 5++20%32% total

Tilføj 2 mere: +5 % rabat på hver

2 vs 2 at the Corner Boteco: your turn, with Dona Nena on top and Zeca and Tico as rivals.Bira calls TRUCO! at the Night Bar: Accept, Fold or Raise 6.Kadu calls TRUCO! at the Beach Kiosk, with Tia Cida on the right.The Street Fair table: your turn against Seu Juca and Vó Zuleica.Madame Zap calls TRUCO! on the Rooftop, with Doutor on the left.Hand of eleven: your partner's hand is shown above yours. Play for 3 points or fold?Signal: Dona Nena answers "Got a trump!".Cover: you played a card face down in the 2nd trick.1 vs 1 in Mineiro, with fixed trumps: Zeca calls TRUCO!.The end of a hand: "We win the hand! +1", and See the cards shows what everybody held.You win! 3 stars, and the team cheers.The circuit: table 2, the Night Bar, with its 10 matches in a 5 x 2 grid, stars, locks and the rivals Bira and Lola.Champions! The trophy and your stars out of 150.Quick Match: style, players, level and house rules.House rules: face-down cards, hand of eleven and iron hand, each one can be switched off.How to Play, page 1 of 6: the trump cards.Settings: vibration, less motion, partner signals, fast game, full screen, voices and language.The game is in 14 languages.The title screen with Zeca, Dona Nena and Tico.The menu: Play, Circuit and How to Play.

Truco Showdown, an HTML5 Brazilian truco card game

A single-player Brazilian truco card game for the web, set in a cheerful neighbourhood bar. Play 2 vs 2 with your partner Dona Nena or 1 vs 1 against the computer, call TRUCO! to make a hand worth more and be the first team to 12 points. Plain HTML, CSS and JavaScript ES modules, with no framework and no runtime dependencies.

The table and the rules: Paulista and Mineiro

A 40-card deck (no 8, 9 or 10), 3 cards each, best of 3 tricks, and the first team to 12 points wins. Without trumps the order is 3 2 A K J Q 7 6 5 4.

Paulista: the turned card (the vira) picks the trumps, the next rank up, with clubs > hearts > spades > diamonds; a hand is worth 1 and the calls go 3, 6, 9 and 12. Mineiro: fixed trumps, the 4 of clubs > 7 of hearts > ace of spades > 7 of diamonds, no vira; a hand is worth 2 and the calls go 4, 6, 10 and 12.

Truco calls and house rules

On your turn you can call TRUCO. The other team accepts, folds (you score the value the hand had before the call) or raises, and the characters shout their calls.

Three house rules are on by default, and each one can be switched off in Quick Match: Cover (play a card face down in the 2nd and 3rd tricks; it never wins), Hand of eleven (in Paulista a team at 11 sees both hands of the team and chooses to play for 3 or fold; in Mineiro it starts at 10) and Iron hand (both teams one hand from winning: everybody plays blind). In 2 vs 2 the Signal asks Dona Nena for a sign about her cards: "Got a trump!", "I'm strong" or "I'm weak".

Bluff and raise: Bira shouts TRUCO! while Dona Nena grins with her cards

The circuit: 5 tables, 50 matches, 150 stars

The circuit has 5 tables with 10 matches each, shown in a 5 x 2 grid and unlocked in order: Corner Boteco (Zeca and Tico, Easy), Night Bar (Bira and Lola, Easy), Beach Kiosk (Kadu and Tia Cida, Normal), Street Fair (Seu Juca and Vó Zuleica, Normal) and Rooftop (Doutor and Madame Zap, Hard). Each table has its own background and its own circuit background.

Every match gives up to 3 stars: a win, a win without folding, and a win after being 4 or more points behind, 150 stars in all. Winning match 10 opens the next table, and winning the last table opens a Champions screen with Dona Nena, a trophy, your stars out of 150 and confetti.

The circuit of Truco Showdown: 5 tables and 50 matches

Characters and voices

11 cartoon characters in a Brazilian neighbourhood bar style: Dona Nena (your partner), Zeca, Tico, Bira, Lola, Kadu, Tia Cida, Seu Juca, Vó Zuleica, Doutor and Madame Zap, each with 4 faces (idle, cocky, nervous and cheering). Every rival has its own bluff and boldness, and a bluffer can fake confidence.

231 recorded voice lines (MP3), 121 in Portuguese and 110 in English: the calls (TRUCO, six, nine, ten, twelve), accept, fold, a short line for winning or losing a hand, a tease and victory. The Portuguese interface plays the Portuguese voices and every other language the English ones; the call "TRUCO!" is always the Portuguese word. Voices can be switched off.

The rivals of Truco Showdown around the card table

Quick Match and 3 levels

Quick Match lets you choose the style (Paulista or Mineiro), the players (2 vs 2 or 1 vs 1), the level and the house rules, at the Corner Boteco. The computer plays at 3 levels: Easy, Normal and Hard. Hard imagines 48 possible deals of the unseen cards and plays each to the end before choosing.

Fair play: each computer player only receives what its own seat can see, and the shuffle is seeded. See the cards, at the end of a hand, shows what everybody held.

Presentation and options

All pictures are raster art made for this game (WebP): characters with 4 faces, 6 face cards, backgrounds for the title, the menu and the 5 places in portrait and landscape, table snacks, interface pieces, a trophy and end-of-match art. Effects use a canvas layer and the Web Animations API, with 12 sound effects and 2 instrumental background tracks. How to Play has 6 illustrated pages plus a Mineiro note.

Layouts for phones in portrait and landscape, tablets, desktop and ultrawide screens, with touch and mouse. Options: music and effects volume, vibration (where the device supports it), less motion, partner signals, fast game, full screen (where the browser supports it), voices and language. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Simplified Chinese.

Reskin it: what is in which file

The game reads its data when it starts, so most changes need no build step:

  • src/config.js: FEEL (every timing and effect number), AUDIO (the mix levels) and STORAGE_PREFIX (the save prefix)
  • src/ui/cast.js: PEOPLE (names, bluff and boldness), TABLES (the rivals and the level of each of the 5 tables) and MATCHES_PER_TABLE
  • src/game/rules.js: DEFAULT_HOUSE (house-rule defaults) and SCALES (the Paulista and Mineiro call values); the rules in src/game/cards.js and match.js
  • src/ui/screens.js: starsFor, the 3-star rule
  • src/lib/locales/: one text file for each of the 14 languages
  • assets/: the pictures, the voices (assets/audio/voz/), the music (assets/music/) and the sound effects (assets/sfx/), found by file name
Truco Showdown on a laptop, a tablet and a phone: easy to reskin, in 14 languages

What is in the package

  • game/: the game, ready to host. Upload it to any static host; no server language, database or account.
  • source/: the same editable files, with optional npm run dev (local preview) and npm run build scripts that need Node.js 26.13 or newer. npm test runs 56 automated checks of the rules (source/tests/).
  • An illustrated buyer guide in 14 languages and a step-by-step customization guide.
  • All the art, the 231 voice lines, the 2 music tracks and the 12 sound effects, and the Fredoka font (SIL OFL 1.1).

Notes

  • For one person against the computer. This edition has no mode for two people, no accounts, leaderboard, shop, purchases, betting or coins.
  • The voices are in Portuguese for the Portuguese interface and in English for every other language; the call "TRUCO!" is always the Portuguese word.
  • Progress and settings are saved in the browser of each player (localStorage, prefix trucoshowdown:). The game makes no requests to other servers.
  • It needs HTTP(S) hosting and does not run from file://.
  • It has not yet been formally tested on physical phones or tablets.

Billeder fra denne udgave

Taget fra den udgave, der sælges her.

Inkluderet

  • Brazilian truco with a 40-card deck (no 8, 9 or 10), 3 cards each, best of 3 tricks and matches to 12 points; card order without trumps 3 2 A K J Q 7 6 5 4
  • Two rule styles: Paulista (the turned card, the vira, picks the trumps: the next rank up, trump suits clubs > hearts > spades > diamonds; a hand is worth 1; calls 3, 6, 9 and 12) and Mineiro (fixed trumps 4 of clubs > 7 of hearts > ace of spades > 7 of diamonds, no vira; a hand is worth 2; calls 4, 6, 10 and 12)
  • 2 vs 2 (the player and the partner Dona Nena against two rivals) or 1 vs 1, always against the computer
  • Truco calls: on their turn a player calls TRUCO and the other team accepts, folds (the caller scores the value before the call) or raises
  • Three house rules, on by default and each one switchable in Quick Match: Cover (a card face down in the 2nd and 3rd tricks; it never wins), Hand of eleven (in Paulista the team at 11 sees both hands of the team and chooses to play for 3 or fold; in Mineiro it starts at 10) and Iron hand (both teams one hand from winning: everybody plays blind)
  • Signal: in 2 vs 2 the player asks Dona Nena for a sign about her cards and she answers "Got a trump!", "I'm strong" or "I'm weak" (can be switched off in Settings)
  • 3 computer levels (Easy, Normal and Hard); Hard imagines 48 possible deals of the unseen cards and plays each to the end before choosing. Every rival has its own bluff and boldness, the faces react (idle, cocky, nervous, cheering) and a bluffer can fake confidence
  • Fair play: each computer player only receives what its own seat can see; the shuffle is seeded, and See the cards shows what everybody held at the end of a hand
  • Circuit: 5 tables of 10 matches (50 matches) in a 5 x 2 grid per table, unlocked in order, with up to 3 stars per match (win; win without folding; win after being 4 or more points behind), 150 stars in all, and a Champions screen with Dona Nena, a trophy and confetti
  • The 5 tables: Corner Boteco (Zeca and Tico, Easy), Night Bar (Bira and Lola, Easy), Beach Kiosk (Kadu and Tia Cida, Normal), Street Fair (Seu Juca and Vó Zuleica, Normal) and Rooftop (Doutor and Madame Zap, Hard), each with its own background and circuit background
  • Quick Match: style, players, level and house rules, at the Corner Boteco
  • 11 cartoon characters with 4 faces each (44 portraits)
  • 231 recorded voice lines (MP3): 121 in Portuguese and 110 in English, for the calls, accept, fold, winning or losing a hand, a tease and victory. The Portuguese interface plays the Portuguese voices and every other language the English ones; the call "TRUCO!" is always the Portuguese word. Voices can be switched off
  • 12 sound effects and 2 instrumental background tracks (menu and table), all MP3, with separate Music and Effects volumes
  • How to Play in 6 illustrated pages, plus a Mineiro note
  • Raster art made for this game (WebP): characters, 6 face cards (J, Q and K in red and black), backgrounds for the title, the menu and the 5 places in portrait and landscape, table snacks, interface pieces, a trophy and end-of-match art; effects on a canvas layer and the Web Animations API
  • 14 interface languages (English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Simplified Chinese); the language comes from ?lang=, the saved choice, then the browser
  • Layouts for phones in portrait and landscape, tablets, desktop and ultrawide screens, with touch and mouse; options for vibration (where the device supports it), less motion, partner signals, fast game, full screen (where the browser supports it), voices and language
  • A ready-to-host game/ folder and the complete editable project (plain HTML, CSS and JavaScript ES modules, no framework and no runtime dependencies) with optional npm run dev (local preview) and npm run build scripts. npm test runs 56 automated checks of the rules (source/tests/).
  • An illustrated buyer guide in 14 languages, for offline reading, and a step-by-step customization guide

Ikke inkluderet i denne udgave

  • A mode for two people, over the internet or on one device
  • Accounts, leaderboards or cloud saves
  • Betting, coins, a shop or purchases
  • Phone apps for the Android or iOS stores, hosting and custom development

Hvad der er i ZIP-filen

Den rigtige mappestruktur i den pakke, du downloader, med navne og størrelser læst direkte fra den.

truco-showdown-1.0.0-complete.zip985 filer · 64,3 MB
  • truco-showdown-static-1.0.0/984 filer · 64,3 MB
    • documentation/HTML-guide, åbn den, før du køber38 filer · 5,8 MB
      • img/JPG · PNG · 23 filer · 4,7 MB
      • customization-de.html38 KB
      • customization-es.html38 KB
      • customization-fr.html38 KB
      • customization-id.html36 KB
      • customization-it.html38 KB
      • customization-ja.html41 KB
      • customization-ko.html38 KB
      • customization-nl.html37 KB
      • customization-pl.html36 KB
      • customization-pt.html37 KB
      • customization-ru.html45 KB
      • customization-tr.html37 KB
      • +3 flere filer689 KB
    • game/Klar til hosting: upload denne mappe461 filer · 29,2 MB
      • assets/Grafik, lyd og skrifttyperMP3 · TXT · WEBP · WOFF2 · 406 filer · 28,8 MB
      • css/CSS · 6 filer · 94 KB
      • src/KildemodulerJS · 48 filer · 299 KB
      • index.html8 KB
    • source/Læsbar kildekode479 filer · 29,3 MB
      • assets/Grafik, lyd og skrifttyperMP3 · TXT · WEBP · WOFF2 · 406 filer · 28,8 MB
      • css/CSS · 6 filer · 94 KB
      • src/KildemodulerJS · 48 filer · 299 KB
      • tests/Automatiske testsMJS · 11 filer · 48 KB
      • tools/Scripts til build og kontrolMJS · 3 filer · 4 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html8 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md3 KB
    • THIRD-PARTY-LICENSES/Licensoplysninger, der skal følge med dit spil2 filer · 6 KB
      • Fredoka-OFL.txt4 KB
      • README.txt2 KB
    • CHANGELOG.txtVersionshistorik1 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.htmlÅbner guiden1 KB
    • START-HERE.txtHurtig start2 KB
  • POLAR-MARKETPLACE-START-HERE.txtStart her: licens, support og første skridt1 KB

Produktdetaljer

Udgave
Standalone Browser Edition
Version
1.0.0
Udgivet
1. dec. 2026
Opdateret
1. dec. 2026
Kategori
Strategi
Sprog
Engelsk, Portugisisk, Spansk, Fransk, Tysk, Italiensk, Nederlandsk, Polsk, Tyrkisk, Russisk, Indonesisk, Japansk, Koreansk, Forenklet kinesisk
Medfølgende filer
HTML, CSS, JavaScript, WebP, MP3, WOFF2
Bygget med
HTML5, Vanilla JavaScript, ES Modules, Canvas, Web Animations API, Web Audio
Browsere
En understøttet browser: Chrome 110+, Edge 110+, Firefox 121+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+. Smart-tv og forældede browsere understøttes ikke.
Dokumentation
Dokumentation

Udvikler

Polar Games

Brasiliansk studie, der laver browserspil. Hver skabelon her er et spil, vi selv har bygget og udgivet.

Se vores spil

Krav

  • En understøttet browser: Chrome 110+, Edge 110+, Firefox 121+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+. Smart-tv og forældede browsere understøttes ikke.
  • Static HTTP(S) hosting (it does not run from file://); no database, PHP or author account required
  • Only for the optional scripts of the editable project: Node.js 26.13 or newer

Supporten dækker tekniske spørgsmål og reproducerbare fejl i det leverede spil. Installation og tilpasning er separate ydelser.

Ændringslog

  1. 1.0.01. dec. 2026

Spørgsmål

Do I need to build the game?

No. Upload the contents of game/ to any static HTTP(S) host. Edit a file and reload: there is nothing to compile. The npm run dev and npm run build scripts of the editable project are optional.

Can I reskin it? What is in which file?

Yes. The feel numbers and the audio mix are in src/config.js (FEEL, AUDIO); the characters, the 5 tables, their rivals and levels in src/ui/cast.js (PEOPLE, TABLES, MATCHES_PER_TABLE); the house-rule defaults and the call scales in src/game/rules.js (DEFAULT_HOUSE, SCALES); the stars rule in src/ui/screens.js (starsFor); the texts in src/lib/locales/; and the pictures, voices and sounds in assets/, found by file name. The customization guide has step-by-step recipes.

Can I change the rules and the computer players?

Yes. The rules are in src/game/ (cards.js, rules.js, match.js): a pure "command in, events out" match where each seat gets only its own view. The computer players are in src/game/ai.js and ai-eval.js, and the bluff and boldness of each character in src/ui/cast.js.

How do I add a language?

Create a file in src/lib/locales/ (copy en.js and translate it), import it in src/lib/locales.js and add its code to LANGS and its own name to LANG_NAMES. English is used for any missing text.

Can I change or record the voices?

Yes. The Portuguese lines are in assets/audio/voz/pedidos/<character>/ and the English ones in assets/audio/voz/pedidos-en/<character>/, one MP3 per line, played by file name. Record yours with the same names and replace the files. Players can switch the voices off in Settings > Voices.

Which languages does it have?

14: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Simplified Chinese, one editable file each. The translations were checked by script only, so have the ones you publish reviewed. Character names are the same in every language. Russian, Japanese, Korean and Chinese use the fonts of the device.

Where is the progress saved?

In the browser of each player (localStorage, with the prefix trucoshowdown: set by STORAGE_PREFIX in src/config.js): circuit progress and settings. There is no server or account, and the game makes no requests to other servers. Changing the prefix starts fresh progress.

Does it use real money?

No. There is no betting, money, coins, shop or purchases: only points and stars. If you add anything like that for your own audience, you are responsible for following the local rules.

Can two people play together?

No. It is a single-player game against the computer: 2 vs 2 with a computer partner, or 1 vs 1.

Does it use a framework or a library?

No. It is plain HTML, CSS and JavaScript ES modules with no runtime dependencies.

Does it work on phones?

It supports touch in portrait and landscape, and has layouts for tablets, desktop and ultrawide screens. It has not yet been formally tested on physical phones or tablets.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

Læs de fulde vilkår for licens, support, refusion og privatliv

Before you buy: guides and reviews

Fra Brasilien til hele verden

Købere i 25 lande

Licensér et færdigt HTML5-spil med kildekode til dit website, din app eller dit brand.

  • 900+salg
  • 25lande
  • 2016sælger siden
Lande, hvor vi har solgt: Brasilien, USA, Storbritannien, Tyskland, Canada, Australien, Frankrig, Indien, Nederlandene, Spanien, Italien, Japan, Sydkorea, Polen, Mexico, Sverige, Schweiz, Singapore, De Forenede Arabiske Emirater, Saudi-Arabien, Indonesien, Tyrkiet, Portugal, Filippinerne, Vietnam.

Mere fra Polar Games

Truco Showdown49 US$ 41,65 US$ -15%
Køb nu