diff options
Diffstat (limited to 'protocol/src/bot.rs')
-rw-r--r-- | protocol/src/bot.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocol/src/bot.rs b/protocol/src/bot.rs new file mode 100644 index 0000000..3bae7db --- /dev/null +++ b/protocol/src/bot.rs @@ -0,0 +1,8 @@ +use async_trait::async_trait; + +use crate::bridge_engine::{BiddingStatePlayerView, Bid}; + +#[async_trait] +pub trait BiddingBot { + async fn bid(&self, bidding: &BiddingStatePlayerView) -> Bid; +} |