A web-based implementation of La Chouine, a traditional French card game.
La Chouine is a trick-taking card game played with a 32-card French deck. This implementation allows you to play against an AI opponent in your browser.
- Full game implementation following traditional La Chouine rules
- AI opponent with strategic decision-making
- Clean, responsive user interface
- Card animations and visual feedback
- Score tracking across rounds
- Seeded RNG for reproducible games (replay any game with the same seed)
The game supports seed-based random number generation for reproducible gameplay. Here are some interesting seeds that create specific scenarios:
Main: A♦, 10♥, A♥, 10♣, A♣ Points: 52 points in hand Atout: 8♥ Found in: 6,462 attempts Perfect for announcing a Quinte (100 points)!
Main: A♠, Q♠, J♠, K♠, 10♠ Atout: K♦ Found in: 72,851 attempts The legendary Chouine - all 5 cards in the same suit! Play any card to win instantly.
Main: K♠, 8♦, Q♠, A♥, J♣ Atout: 7♠ Found in: 49 attempts King and Queen of trump suit = 40 points
Main: K♠, 10♠, J♠, 8♠, 9♠ Atout: A♠ Found in: 1,362 attempts All 5 cards are trump cards! Ultimate control.
Main: K♣, A♣, Q♣, 9♠, J♣ Atout: K♦ Found in: 183 attempts 4 consecutive face cards in clubs: 40 points (80 if trump)
Main: 8♥, 8♣, 7♦, Q♥, 7♠ Atout: 9♥ Found in: 2 attempts No Aces or 10s - for experienced players seeking a challenge!
- Click the "📋" button to copy the current game's seed
- Enter a seed in the input field and click "Rejouer" to replay
- The same seed always produces the same card distribution
Note: The dealer alternates between games, so you may start or the AI may start, but the card distribution remains deterministic.
- Open
index.htmlin a web browser - The game will automatically deal cards and determine the trump suit
- Click on cards to play them during your turn
- Try to win tricks and score points according to the rules
For detailed rules, see la_chouine_rules.md.
index.html- Main game pagegame.js- Core game logic and state managementcards.js- Card and deck managementai.js- AI player implementationui.js- User interface and renderingprng.js- Seeded pseudo-random number generator (Mulberry32 algorithm)styles.css- Game stylingla_chouine_rules.md- Complete game rules
MIT