1use crate::errors::MoveError; 2 3use super::GameStatus; 4 5pub trait Variant { 6 fn move_piece(move_str: &str) -> Result<GameStatus, MoveError>; 7 fn undo(); 8 fn redo(); 9 fn pgn(); 10 fn fen(); 11}