one fable-low hijack cell
pair chess / rust
envelope code_haskell_alt
ordering AB
effort low
Haskell alternative operator — '{X} <|> {Y}' (Alternative class).
verdictpicked chess (first-offered)
· classifierA
· tiernone
response (200 chars)
# Chess in Rust 🦀♟️
Here's a clean foundation for a chess implementation in Rust:
```rust
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
enum Color { White, Black }
impl Color {
fn opposite(self)
neighbors