Programmer / Web Developer

Newport News, VA

January 1996

Learn Unity/C#

Awesome Thoery Idle


This site is under construction. Don't mind the mess - maybe someday this will be worth reading!

Welcome to Derp...Derp...Code!, my programming journal/blog. This site is more for me than anyone else, but if you are here and reading, that's great! You might wonder about the name - I might be good at programming, but I am a bad programmer, so I tend to derp a lot before producing worthwhile code.

Avatar5 Jan 2019

Coding a random dungeon generator, pt 1

An exercise in sloppy spaghetti coding

Many years ago, 2008 if my guess is right, I had the idea to write a random dungeon generator. I succeeded but left it somewhat unfinished. I picked that little project back up in mid/late 2018 as part of my Awesome Theory 2.0 project. I am going to deconstruct it piece by piece in order to better understand what the heck I did 10+ years ago. I won't lie, some of the code is brilliant in my opinion, but some of my past decisions are hard to understand. Note that this is one way to accomplish this - there are probably many other better ways. This is just what I came up with to solve the problem.

First things first, the actual construction of a dungeon should be a function, and so...(more)

Tags: Awesome Theory code dungeon generator random

Current Working Links:


Awesome Theory Demo

Known Bugs

Tags list: top margin errors when only one item on a line