coup/bots/
static_bot.rs

1//! A static bot implementation for you to use to test your own bot with.
2
3use crate::bot::BotInterface;
4
5/// The static bot only takes [crate::Action::Income] on turns and is eventually
6/// forced by the engine to coup another bot.
7/// It won't challenge, counter or act on its own cards at all.
8pub struct StaticBot;
9
10impl BotInterface for StaticBot {
11	/// StaticBot is the name
12	fn get_name(&self) -> String {
13		String::from("StaticBot")
14	}
15}