Crate fg_notation

source ·
Expand description

A crate/binary to convert between forms of fighting game notation, currently numpad & abbreviated notation, using the corresponding modules.

The modules provide types for full moves & their components which have From impls for their counterparts in the other module.

Example


let numpad_move = numpad::Move::new("236H")?;
let abbreviated_move = abbreviated::Move::new("qcf H")?;

assert_eq!(numpad::Move::from(abbreviated_move.clone()), numpad_move);
assert_eq!(abbreviated::Move::from(numpad_move), abbreviated_move);

Modules

Enums