summaryrefslogtreecommitdiff
path: root/protocol/src/bot.rs
blob: 3bae7db0639ab3e0f66496f973b0b7b57334f4e9 (plain)
1
2
3
4
5
6
7
8
use async_trait::async_trait;

use crate::bridge_engine::{BiddingStatePlayerView, Bid};

#[async_trait]
pub trait BiddingBot {
    async fn bid(&self, bidding: &BiddingStatePlayerView) -> Bid;
}