A web-based implementation of the card game Thirteen (Tiến Lên), built with vanilla JavaScript, HTML, and CSS.
Thirteen is a climbing card game where players try to be the first to play all their cards through a series of rounds. Players must play valid combinations that beat the previous play, or pass their turn.
- Values: 2 (highest) > A > K> Q > J > 10 > 9 > 8 > 7 > 6 > 5 > 4 > 3 (lowest)
- Suits: ♥ > ♦ > ♣ > ♠
- Single cards
- Pairs (two cards of same value)
- Triples (three cards of same value)
- Straights (3+ consecutive cards)
- Consecutive pairs (3 or 4 pairs in sequence)
- Special "bomb" combinations can beat 2s
- Clone the repository
- Open in VS Code
- In the
Run and Debugwindow, selectPlay gameand clickF5to start src/index.htmlopens in a web browser- Play against another person in "hot-seat" mode
Licensed under the Apache License, Version 2.0. See the LICENSE file for details.