Search⌘ K
AI Features

Exercise: Make Cats Meow and Dogs Bark

Explore how to implement loops and conditional logic in Rust by working with enums and vectors representing cats and dogs. Learn to print animal sounds correctly to strengthen your understanding of Rust programming within game development contexts.

We'll cover the following...

Problem statement

You’re provided with an enum containing cat and dog ...