💾 Archived View for gemini.ctrl-c.club › ~lettuce › 7drl-2021-day1.gmi captured on 2024-03-21 at 15:36:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

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.

................................
................................
........@.......................
................................
................................
`

now i save to an external file. i think a core mechanic of my game will be that you can only play one move a day. inpsired by michael brough's vesper.5 'ritual'-game where you can (only move one square a day). that game got a lot of notice. oh, but it wasn't ascii. and it was 7 or 8 years ago. argh. anyway. i think i like this idea. and it's doable. and even though the command line and ascii art does not appeal to my 'art' base, my hacker phreaks like this, and i like this too! lol. it's not visual though. michael's work is so appealing because it speaks its own visual language. should i just work in p5 again? i have a half-engine for roguelikes in p5. maybe i could revisit? but way, i like this idea of a "Message of the Day" (Dungeon of the Day?) roguelike where it's in the command line, since that's my primary interface on my computer. i mean i'm typing in the command line now. 

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

node dotd --new # new game

node dotd --left #move left


the concept is loosely that it's an ambient game. when you open a new terminal window the board (perhaps) is displayed as the message of the day. you can make one move a day. (how?). other than moving, maybe you can also use an item, talk to npc's, buy something at the market? or maybe you can move up to 3 different characters, like Lost Vikings (o.g. nintendo game that i liked that there doesn't seem to be any modern clones of).

okay, need to figure out more core mechanic/compelling gameplay. an ambient game is nice perhaps but needs some juice to make people want to play this and not skip over it.

other roguelike ideas i'd been thinking of but maybe not this time:


anyway.... no end of (bad) ideas

# Day 1 1/2
What should terrain look like? 

Old PETSCII? ZZT? (Can i get this with unicode or do i need to load a special font in the terminal, and then have to package that font? Can node do this?

oh wait, or should i just do this. it's easy. emoji.

🎄

🌳

🌲

🌴

🎋

🏡

🌱

🌿

🏕️


too cheesy? possibly

### References

Code page 437 - (for example in ZZT)

=> https://wikimili.com/en/Code_page_437 page 437 characters translated to unicode
=> https://github.com/berenddeschouwer/fourthreeseven unicode page 437 font to work in linux!
=> https://www.masswerk.at/nowgobang/2020/petscii embedded (copy-pastable) in this article
=> https://style64.org/petscii/ petscii to unicode converter