~alip/jja

263010b2c0872ba3a7008b425d14656f83d28809 — Ali Polatel 3 months ago 138af9f main
quote: new entry, thx to Xenguy
1 files changed, 5 insertions(+), 1 deletions(-)

M src/quote.rs
M src/quote.rs => src/quote.rs +5 -1
@@ 106,7 106,7 @@ pub fn wrap_text(text: &str, width: usize) -> Vec<Cow<'_, str>> {
}

/// The maximum number of quotes in the predefined list.
pub const QUOTE_MAX: usize = 1912;
pub const QUOTE_MAX: usize = 1913;

// An array containing tuples of quotes and their respective authors.
const QUOTE: [(&str, &str); QUOTE_MAX] = [


@@ 7308,4 7308,8 @@ const QUOTE: [(&str, &str); QUOTE_MAX] = [
        r#"So often, as any player will agree, it is hopes and fears which seem to influence the choice of a move. Notoriously, the weaker player will tend to exaggerate both his advantages and his disadvantages, thinking that he has a win in a good position, and a loss with a bad one. This emotional liability seems less obvious at higher levels..."#,
        r#"Jonathan Rowson - The Seven Deadly Chess Sins"#,
    ),
    (
        r#"Why must I lose to this idiot?!"#,
        r#"Aron Nimzowitsch"#,
    ),
];