I've begun working on my Roguelike game for the 7DRL

..

7drl 2021

Okay, so today I started Dungeon of the Day (working title), for the 7 Day Roguelike challenge 2021.

Devlog Day 1

i started by creating a an array of arrays (2d array) to 'hold' the level. i looped through it to assign a blank characters, at first a zero, but now a period. it took me some time to figure out how to properly point to a x,y position properly with this method. argh. lots of trial and error and i copy-pasta one line i didn't really understand from stackoverflow but understand what it outputs and worked backwards. actually, here it goes. this is cool. separately, maybe i can revisit making my own processing-derivative drawing parser in ascii. ok ok, that's a later project. anyway, i can now address a grid of text with x,y coordinates. great. proud of myself! lol. i have a grid of periods.

next i pick a random x,y position on the grid for the player. drop an @ there.

file is dotd --> aka 'dungeon of the day'

node dotd --new # new game

node dotd --left #move left

🎄

🌳

🌲

🌴

🎋

🏡

🌱

🌿

🏕️