On Dungeon Generation

As a gamer, game master and former (minor) game developer I am always interested in ideas and concepts that make a game out of an activity. In this case, I stumbled upon a blog about game programming patterns. This particular blog post is all about the random generation of dungeons. It is really an interesting read and you can retracte the several steps as the author, Bob Nystrom, made a simulation for every necessary step. Really nice!

One of my earliest memories of computing is a maze generator running on my family’s Apple IIe. It filled the screen with a grid of green squares, then incrementally cut holes in the walls. Eventually, every square of the grid was connected and the screen was filled with a complete, perfect maze.

My little home computer could create something that had deep structure—every square of the maze could be reached from any other—and yet it seemed to be chaotic—it carved at random and every maze was different. This was enough to blow my ten-year-old mind. It still kind of does today.

Stuff with Stuff: Rooms and Mazes: A Procedural Dungeon Generator


A nice javascript regular expression editor

Building regex is fun, especially if you have a good editor at hand. I used Rubular for the last years but as this is specialized for Ruby and I was in need for Javascript based Regex the last months, I searched for something similar nice to use and found Scriptular.

The user experience is not one to one the same but it is way more comfortable than the other ones I see around. Take a look!

Fonts for coders

Wanna know if your coding font knows how to deal with unicode? Here is a simple test to check, copy this into your editor and compare. Here are some hints for good programmers fonts ("the best"!).

«»‹›“”‘’〖〗【】「」『』〈〉《》〔〕 ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ αβγδεζηθικλμνξοπρςτυφχψω ¤$¢€₠£¥ ©®™²³ §¶†‡※ •◦‣✓●■◆○□◇★☆♠♣♥♦♤♧♡♢ ᴁᴂᴈ ♩♪♫♬♭♮♯ “” ‘’ ¿¡ ¶§ª - ‐ ‑ ‒ – — ― … ° ⌈⌉ ⌊⌋ ∏∑∫ ×÷ ⊕⊖⊗⊘⊙⊚⊛∙∘ ′″‴ ∼∂√ ≔× ⁱ⁰¹²³ ₀₁₂ π∞± ∎ ∀¬∧∨∃⊦∵∴∅∈∉⊂⊃⊆⊇⊄⋂⋃ ≠≤≥≮≯≫≪≈≡ ℕℤℚℝℂ ←→↑↓ ↔ ↖↗↙↘ ⇐⇒⇑⇓ ⇔⇗ ⇦⇨⇧⇩ ↞↠↟↡ ↺↻ ☞☜☝☟ ⌘⌥‸ ⇧⌤↑↓→←⇞⇟↖↘ ⌫ ⌦ ⎋⏏↶↷◀▶▲▼ ◁▷△▽ ⇄ ⇤ ⇥ ↹↵↩⏎ ⌧⌨␣ ⌶ ⎗⎘⎙⎚⌚⌛ ✂✄✉✍ ①②③④⑤⑥⑦⑧⑨⓪ 卐卍 ✝✚✡☥⎈☭☪☮☺☹☯☰☱☲☳☴☵☶☷☠☢☣☤♲♳⌬♨♿☉☼☾☽♀♂♔♕♖♗♘♙♚♛♜♝♞♟❦ 、。!,:林花謝了春 紅,太匆匆。無奈朝來寒雨,晚來風。胭脂淚,留人醉,幾時重,自是人生長恨, 水長東。

Edit: You may want to take a look at Wikipedia on Unicode Fonts