Re: Minesweeper
By: echicken to The Millionaire on Sat Sep 21 2019 03:19 pm
Re: Minesweeper
By: The Millionaire to Digital Man on Sat Sep 21 2019 11:56:14
Hey DM. Why is minesweeper in exec instead of xtrn?
He'll have better answers than me, but:
JS modules (including games) aren't really "external" to Synchronet in the way that an actual "door" program is. IIRC xtrn/ was originally intended for "truly external" programs.
Since this game consists of one script (in exec/) and one help file (in text/) it's not really generating any "clutter". I lean toward putting stuff in xtrn/ if it would keep things better organized.
Yeah, I didn't really think too much on it. It does create/use a data file (minesweeper.jsonl) - so that could be an argument to put it in xtrn/minesweeper, to store it's code and text/data in a single location. <shrug>
I just sort of followed my own example with sbbslist.js where its code/data/text is stored in the separate Synchronet-natural dirs.
digital man
Synchronet "Real Fact" #91:
Captured chat with Wayne Bell:
http://wiki.synchro.net/history:waynebell_chat Norco, CA WX: 85.1øF, 41.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)