Wrap-Up

In this chapter, you learned how to use a powerful Rust feature known as traits. You also extended your game to produce a variety of maps with cellular automata and Drunkard’s Walk. The next chapter will continue to take advantage of traits—varying your map rendering with themes.

Get Hands-on Rust now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.