ITADN

[Chapter 40] Content does not match the updated code

#232OpenPierreGuyot 创建于 2025-01-15
P
PierreGuyotcommented
https://github.com/amethyst/rustrogueliketutorial/blob/33872fe582f226178436847e1f74eafcbf9c0d1a/chapter-40-doors/src/map_builders/waveform_collapse/mod.rs#L40-L41 In chapter 40, there is an update to the code of `WaveformCollapseBuilder` (introduced in chapter 33). It adds a try limit to the solver loop to avoid an infinite (or at least a very long) loop. However, this is not mentioned anywhere in the chapter (or in the book), so people will have to power through the following chapters with a level generation that breaks regularly.
0 条评论