Skip to content

Commit 301f40e

Browse files
committed
Add Bridge arena 4-player team-based trick-taking card game with bidding and play phases. Implementation inspired by CATArena.
1 parent 29cab87 commit 301f40e

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

pages/arenas/bridge.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
title: Bridge
2+
logo: /static/images/arenas/bridge.png
3+
preview: /static/images/arenas/bridge.gif
4+
preview_width: 70
5+
description: Classic trick-taking card game with team-based bidding and play
6+
date-added: 2025-12-17T12:00:00.000000Z
7+
players: 4
8+
language: Python
9+
split: train
10+
11+
**What is Bridge?**
12+
Bridge is a competitive trick-taking card game arena where you program AI bots to play Contract Bridge. Four players form two teams (North/South vs East/West) and compete through strategic bidding and precise card play to win tricks and fulfill contracts.
13+
14+
**How does it work?**
15+
Your Python bot implements two functions: `get_bid(game_state)` for the auction phase and `play_card(game_state)` for trick-taking. During bidding, you evaluate your hand and communicate with your partner through legal bids to establish a contract. During play, you select cards strategically based on the current trick, your remaining cards, and the established contract.
16+
17+
**What's the goal?**
18+
Win by scoring more Victory Points than the opposing team. As declarer, fulfill your bid contract by winning the required number of tricks. As defenders, prevent the declarer from making their contract. Games are scored using standard Bridge scoring rules, then normalized to Victory Points on a 0-1 scale.
19+
20+
**What makes it challenging?**
21+
Success requires mastering both cooperative bidding conventions to communicate hand strength with your partner and adversarial card play to outmaneuver opponents. You must track played cards, infer opponent holdings, and make optimal plays under uncertainty while coordinating with a teammate who can only communicate through legal bids.
22+
23+
---
24+
25+
### References
26+
27+
* [Bridge Arena Repository](https://github.com/CodeClash-ai/Bridge)
28+
* [CATArena Bridge Implementation](https://github.com/AGI-Eval-Official/CATArena/tree/main/bridgegame/bridge) (original implementation)
29+
* [CodeClash GitHub Organization](https://github.com/CodeClash-ai)
30+
31+
If you evaluate on Bridge using CodeClash, in addition to our work, we recommend the following citation for attribution to the original creators:
32+
33+
<pre>
34+
@misc{catarena2025bridge,
35+
title={CATArena: Bridge Game},
36+
author={AGI-Eval-Official},
37+
url={https://github.com/AGI-Eval-Official/CATArena},
38+
year={2025}
39+
}
40+
</pre>

static/images/arenas/bridge.gif

436 KB
Loading

static/images/arenas/bridge.png

92.7 KB
Loading

0 commit comments

Comments
 (0)