Subj : Re: Interested in starting out To : esc From : apam Date : Sun Dec 04 2022 12:41 pm -=> On Sat Dec 3 17:24:00 2022, esc wrote to apam <=- > > ap> You could do that, but you'll have to implement dropfile handling, > ap> connection timeouts and time-left handling yourself. > > I take for granted doorkits handle all of this, which is nice. That said, stdio games seem to work as expected when the user drops carrier and they close. I suppose that's the bbs handling it somehow, I have no idea really. Sorry, when I said connection timeouts I was thinking user timeouts, like the "Hey are you still there?" then exiting if they are not. Yeah, as nu and you point out if the connection drops they close. > ap> It's really the learning curve you want to go with, if it's something > ap> like ncurses, you can use the knowledge elsewhere. > > I will say that working with ncurses directly is like a step backwards in time, and not in a good way :P doorkits have /much/ better implementation strategies for the things we intend to do with writing characters and colors on a screen. ncurses is industry standard for good reason, but we've got some better optimized code for our purposes in doorkits. I've not done much with Ncurses, so can't really comment on that. > ap> For magidoor, it's pretty much some convienence functions, dropfile > ap> handling and writing to either a socket or stdio depending on OS, plus > ap> the timeout handling - I wonder if you could then use ncurses on top of > ap> that for window drawing etc. > > I wrote a roguelike (very basic) in c over the past several days using ncurses. I've been thinking about porting it over to a very simple, lightweight, stay-out-of-your-way doorkit. I may experiment with magidoor as well as others and write up my experience. Oh nice. I've wanted to make a rogue like in ages. Had been playing with libtcod but it doesn't seem to be very portable. Also had tried a rust tutorial, but still haven't got my head around that language (though haven't really done much lately). > Nevertheless I think the doors /you/ have made, which use magidoor, all work quite well and feel snappy and seemingly run without any major issues. So kudos to you for that! Thanks. Andrew === TitanMail/linux v1.1.6 --- Talisman v0.46-dev (Windows/x64) * Origin: Smuggler's Cove - Private BBS (21:1/182) .