This is the way I start approaching an idea. I have a concept, a randomly generated dungeon-crawler, and I know a basic way of defining levels. Lists. I combine the ways I know how to do things, i.e., the replace character # of string S with char C, the generate level thing, but then I needed to do something I hadn't done before, adding walls. To do this I simply thought about the problem. I wanted walls on the top and sides, so I checked each character of each index of the list (LEVEL) and checked if they were either equal to 1 or equal to the width (for side walls) and height (for top/bottom walls) From here I can continue adding things like, for example, I want to add rooms, passages, doors, keys, enemies etc. Looking at each feature as a problem you need to solve is how I generally look at game design. % = wall W = blank space Music from TMNT: turtles in time. I don't know if I'll actually do more of these, but if you like more conversational projects, lemme know.
all I did is render the list, that @PokeNinjaGuy made art by me