Mazes for Programmers: Code Your Own Twisty Little Passages


Mazes for Programmers: Code Your Own Twisty Little Passages
Authors: Jamis Buck
ISBN-10 书号: 1680500554
ISBN-13 书号: 9781680500554
Edition 版本: 1
Publisher Finelybook 出版日期: 2015-07-25
pages 页数: 288 pages


Book Description
Unlock the secrets to creating random mazes! Whether you’re a game developer,an algorithm connoisseur,or simply in search of a new puzzle,you’re about to level up. Learn algorithms to randomly generate mazes in a variety of shapes,sizes,and dimensions. Bend them into Moebius strips,fold them into cubes,and wrap them around spheres. Stretch them into other dimensions,squeeze them into arbitrary outlines,and tile them in a dizzying variety of ways. From twelve little algorithms,you’ll discover a vast reservoir of ideas and inspiration.
From video games to movies,mazes are ubiquitous. Explore a dozen algorithms for generating these puzzles randomly,from Binary Tree to Eller’s,each copiously illustrated and accompanied by working implementations in Ruby. You’ll learn their pros and cons,and how to choose the right one for the job.
You’ll start by learning six maze algorithms and transition from making mazes on paper to writing programs that generate and draw them. You’ll be introduced to Dijkstra’s algorithm and see how it can help solve,analyze,and visualize mazes. Part 2 shows you how to constrain your mazes to different shapes and outlines,such as text,circles,hex and triangle grids,and more. You’ll learn techniques for culling dead-ends,and for making your passages weave over and under each other. Part 3 looks at six more algorithms,taking it all to the next level. You’ll learn how to build your mazes in multiple dimensions,and even on curved surfaces.
Through it all,you’ll discover yourself brimming with ideas,the best medicine for programmer’s block,burn-out,and the grayest of days. By the time you’re done,you’ll be energized and full of maze-related possibilities!

下载地址:

Mazes for Programmers Code Your Own Twisty Little Passages 9781680500554.pdf

打赏
未经允许不得转载:finelybook » Mazes for Programmers: Code Your Own Twisty Little Passages

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏