pub trait PlayerConfig<G: Game> {
// Required methods
fn name(&self) -> &str;
fn ui<'a>(&'a mut self) -> Box<dyn Widget + 'a>;
fn ready(&mut self) -> bool;
fn get(&mut self) -> Box<dyn Player<G>>;
fn to_options(&self) -> G::PlayerOptions;
}