blob: cc676dfeeb203d825bb038a21086d39d60130f32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
use async_trait::async_trait;
use crate::{bridge_engine::{BiddingStatePlayerView, Bid}, card::Card};
#[async_trait]
pub trait BiddingBot {
async fn bid(&self, bidding: &BiddingStatePlayerView) -> Bid;
}
#[async_trait]
pub trait PlayingBot {
async fn play(&self) -> Card {
todo!()
}
}
|