This morning I was surfing around and stumbled across references to a mysterious 7DRL. After more research I discovered that this was an acronym for 7-day-rougelike. Where a person works on a rougelike for 7 days and then stops development. Entirely. Permanently. Thinking this was an interesting idea, I decided to have a go at a 14DRL, since this will be my first rougelike and first time using curses/ncurses for anything but tests.
I’m writing it in C using NCurses mainly as an exercise to keep my C skills (which have fallen into disusage) up as well as to learn the NCurses library better. The fact that it’s enjoyable helps too. So…today I got it to Display the map, display the player, move the player, display messages, and show stats. I am, however having trouble with collision detection. How do I get the contents of a cell in ncurses? Googling turned up nothing (well, lots of python). Should I just create an array on map generation containing all impassable cells and check that whenever the player moves? Anyway, I’ll put up sourcecode soon.