Building a base in Rust: cupboard, gate, and defense