Skip to content

Arcade › Duel de zaruri

Duel de zaruri

  • 2d
  • arcade
  • dice
  • casual
  • web
  • turn-based
0
Remix it Discord

0 plays

How to play

Click the game above and it runs right here in your browser. No download, no installer, no account needed. Motorola built it with Cinevva, so it works on a phone or a tablet too.

Discussion

Nobody has said anything about Duel de zaruri yet. Play it, then tell Motorola what you would add next.

Make your own game

Duel de zaruri was built by Motorola with the Cinevva game creator: describe the game you want in chat, watch it get built, and play it in your browser minutes later.

Remix Duel de zaruri opens the real game in the creator and forks its actual files, chat and design doc, so you start from the code rather than from a description.

Read the build brief for Duel de zaruri

Cinevva's analyzer read this game's design doc and its source, then wrote the brief below. "Make your own" hands it to the game creator as your opening message, so you start from a real spec rather than a one-line idea.

Recreate a simple Romanian-language browser game titled “🎲 Duel de zaruri” (Dice Duel), presented as a centered, responsive single-screen 2D web UI rather than a world or scrolling game. Use a dark navy background with a subtle radial blue glow near the top, white text, muted lavender-blue secondary text, gold accents, and rounded glassy panels with blue borders and shadows. The content is a max-width centered vertical shell.

At the top, show a header with the large title “🎲 Duel de zaruri”, subtitle “Aruncă mai mare decât calculatorul”, and gold text on the right reading “Primul la 30”. Below it, show a three-column scoreboard: a left rounded panel labeled “TU” with the player score initially 0, a gold “VS” in the middle, and a right rounded panel labeled “CALCULATOR” with the computer score initially 0. Scores should be large and prominent.

Below the scoreboard, create a two-column arena of matching rounded dark blue cards. The left card is titled “Tu”, and the right card is titled “Calculator”. Each card contains a large white/off-white rounded square six-sided die with a slight drop shadow and a small opposing tilt (player tilted slightly left, calculator slightly right), followed by a gold numeric value initially “1”. Dice should visually show pips for values 1 through 6 using a 3x3 pip layout. The supplied implementation’s static HTML accidentally leaves the literal string `${Array.from({length:9},()=>'<span class="pip"></span>').join('')}` visible inside each die instead of creating the pip elements; if reproducing the exact supplied visual, preserve that malformed literal/code-like text and the dice appear mostly blank, as in the reference screenshot. If implementing the intended functional presentation, use nine pip slots and show the correct pip pattern based on each die’s data value.

Under the arena, center a status message initially reading “Apasă „Aruncă zarurile” ca să începi.” Then show centered controls: a large gold/orange gradient rounded button with the label “🎲 Aruncă zarurile”, dark text, bold weight, and a pressed/depth shadow, beside a smaller dark rounded “Reset” button with a blue outline. At the bottom show the hint “Pe telefon poți apăsa direct butonul — jocul nu are nevoie de tastatură.”

Core mechanic: this is a turn-based dice duel. The player presses the roll button (pointer/touch), or presses Space or Enter on a keyboard. Both player and computer dice roll simultaneously for about 520 milliseconds, updating to random integer values from 1 to 6 every 80 milliseconds, while the button is disabled and both dice animate with a shaking/rotating motion. During this animation the status says “Zarurile se rostogolesc…”. At the end, assign one final random 1–6 value to each die and re-enable the button unless the game has ended.

Compare the final values: if the player’s die is higher, add 2 points to the player and show “Ai câștigat runda! +2 puncte” in a green success color. If the computer’s die is higher, add 2 points to the computer and show “Calculatorul câștigă runda. +2 pentru el” in a pink/loss color. On a tie, add 1 point to each and show “Egalitate — câte 1 punct pentru fiecare.” Scores persist across rounds. The first side whose score reaches at least 30 ends the duel: disable rolling and show “🏆 Ai câștigat duelul!” in green if the player’s score is higher, otherwise show “🤖 Calculatorul a câștigat. Mai încerci?” in pink. Include a Reset action that immediately restores both scores to 0, both die values to 1, clears game-over/rolling state, enables rolling, and restores the initial instruction status. Ignore additional rounds while dice are rolling or after game over. Make the layout responsive, switching to tighter spacing and smaller cards/dice on narrow phone widths; no keyboard is required because touch/pointer controls are supported.

More free browser games

Browse the whole Arcade →