fours 0.1.0

Four in a row in your terminal, with three levels of opponent.
Documentation
use crate::bot::Difficulty;

/// Something the player asked the front end to do.
///
/// Actions say what the player wants rather than which key they pressed, so a front end with
/// buttons or a mouse sends exactly the same ones.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Action {
    /// Move the selection one column to the left.
    Previous,
    /// Move the selection one column to the right.
    Next,
    /// Point at a column, counting from zero.
    Choose(usize),
    /// Place a disc in the selected column.
    Confirm,
    /// Face the opponent of the next level up, keeping the game as it stands.
    CycleDifficulty,
    /// Face the opponent of a level, keeping the game as it stands.
    SetDifficulty(Difficulty),
    /// Start a new game against the same level.
    Restart,
    /// Leave the game.
    Quit,
}