Wrap-Up

Hands-on Rust — by Herbert Wolverson (49 / 120)

The Pragmatic Programmers
The Pragmatic Programmers
1 min readSep 23, 2021

--

👈 Graphics, Camera, Action | TOC | Chapter 6 Compose Dungeon Denizens 👉

In this chapter, you made a map and a player to explore it. You randomly generated a dungeon and verified that your movement code works. You added programmer art to get a better idea of the finished product. In the next chapter, you’ll add monsters and learn to use entities, components, and systems to share common functionality between your dungeon’s residents.

Footnotes

[40] https://en.wikipedia.org/wiki/Law_of_Demeter

[41] https://en.wikipedia.org/wiki/Z-order_curve

[42] https://github.com/thebracket/bracket-lib/blob/master/bracket-geometry/src/rect.rs

[43] https://doc.rust-lang.org/std/vec/struct.Vec.html#method.sort_by

[44] https://doc.rust-lang.org/std/cmp/index.html

[45] https://doc.rust-lang.org/std/primitive.tuple.html

[46] https://www.gimp.org/

[47] https://opengameart.org/content/unfinished-dungeon-tileset

[48] https://opengameart.org/content/fantasy-magic-set

[49] https://opengameart.org/content/fantasy-sword-set

[50] https://github.com/crawl/tiles

Copyright © 2021, The Pragmatic Bookshelf.

👈 Graphics, Camera, Action | TOC | Chapter 6 Compose Dungeon Denizens 👉

Hands-on Rust by Herbert Wolverson can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

Unlisted

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.