DEV Community

khalid ali
khalid ali

Posted on

Baloot Goes Digital: Building Saudi Arabia's Card Game with a Real RL-Trained AI

Baloot is Saudi Arabia's national card game — 32 cards, 4 players, 2 teams, and a bidding system (Sun / Hokm) that rewards reading your opponents.

Most Baloot apps are either stuffed with ads or built around buying coins. Arb'a Baloot takes the opposite approach: completely free, no ads, no in-app purchases.

The interesting part: a real AI

Instead of hard-coded rules, the AI opponent was trained with reinforcement learning over millions of self-play rounds — the same family of techniques behind AlphaGo. It bids Sun or Hokm like a strong human, counts cards, punishes mistakes, and works fully offline.

Features

  • Online multiplayer with private invite-code rooms
  • Full rule set: projects (Sira, Fifty, Hundred, Four Hundred, Baloot) and doubling up to Qahwa
  • Automatic score counting with correct rounding
  • Weekly tournaments with a public leaderboard
  • Rated 5.0 on the App Store · iPhone, iPad, Mac & Vision Pro

Links

Top comments (0)