• xtrn/minesweeper/minesweeper.js

    From rswindell@1:103/705 to CVS commit on Sun Apr 5 21:00:04 2020
    xtrn/minesweeper minesweeper.js 2.4 2.5
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv30018

    Modified Files:
    minesweeper.js
    Log Message:
    Address "index is null" exception when display top winners and there are
    no messages in the syncdata sub.
    Fix a cosmetic (extra space) in the "Top Winners" string.


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Apr 8 00:27:59 2020
    xtrn/minesweeper minesweeper.js 2.5 2.6
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv3434

    Modified Files:
    minesweeper.js
    Log Message:
    Fix off-by-one error on scren sizing

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 8 06:11:34 2020
    xtrn/minesweeper minesweeper.js 2.6 2.7
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv22608

    Modified Files:
    minesweeper.js
    Log Message:
    Add mouse support.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 8 08:50:36 2020
    xtrn/minesweeper minesweeper.js 2.7 2.8
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv20420

    Modified Files:
    minesweeper.js
    Log Message:
    Fix bug in last commit...



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 8 09:07:56 2020
    xtrn/minesweeper minesweeper.js 2.8 2.9
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv23024

    Modified Files:
    minesweeper.js
    Log Message:
    Fix mouse for 2-column squares.
    Only allow clicking the exact cell, not the surrounding ones.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 8 21:45:50 2020
    xtrn/minesweeper minesweeper.js 2.9 2.10
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv28130

    Modified Files:
    minesweeper.js
    Log Message:
    Use X10 (mode 9) mouse tracking instead of "normal" (mode 1000)



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri May 1 03:11:38 2020
    xtrn/minesweeper minesweeper.js 2.10 2.11
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv27330

    Modified Files:
    minesweeper.js
    Log Message:
    Use the ansiterm_lib.js methods for mouse control rather than sending raw
    ANSI all the time, which is not compatible with PETSCII terminals.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue May 12 02:20:14 2020
    xtrn/minesweeper minesweeper.js 2.11 2.12
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv32209

    Modified Files:
    minesweeper.js
    Log Message:
    Use Synchronet mouse hotspots to mouse-enable all the menu keys. Uses the new CON_MOUSE_PASSTHRU console status.
    Also fixed a place or two where the mouse could be left disabled after a command or a text input a prompt.
    Use the cached ansiterm_lib.js.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun May 24 03:24:01 2020
    xtrn/minesweeper minesweeper.js 2.12 2.13
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv14433

    Modified Files:
    minesweeper.js
    Log Message:
    CON_MOUSE_PASSTHRU has been renamed to CON_MOUSE_CLK_PASSTHRU


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Aug 3 22:11:26 2020
    xtrn/minesweeper minesweeper.js 2.13 2.14
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv31722

    Modified Files:
    minesweeper.js
    Log Message:
    Use the new USE_MOUSE setting flag to determine if the user wants
    (and their terminal supports) mouse reporting.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Nov 22 18:31:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/0f7a6513af3861a4167bad66
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Export high scores to message base with "export" command-line optionA periodic (e.g. weekly) digest of high scores posted to SYNCDATAwill allow BBSes to have an accurate list of global high scoreswithout requiring the retention of several years of SYNCDATA messages.Also, made the necessary changes to allow:'jsexec minesweeper.js export' (for testing, primarily)When posting an exception report, post from sysop if user.alias is undefined.Incremented revision to 2.15 (though there were no game-play changes).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Nov 22 18:31:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/4eb78555ff2a1842311823c7
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Fix improper use of list_contains() which caused dupe winners to displayDe-duplication wasn't working
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Oct 1 11:09:22 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b066eb0567296bbc2816ec34
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    More graphical fixes...

    Force mouse support in graphics mode even if user disabled
    it for the BBS. It would be nice if mouse support in the menus
    was a separate option than "terminal doesn't support mouse",
    and we know the terminal supports the mouse when we detect
    graphics mode.

    Move top/margin/width calculations into separate functions.
    For level 1, center the playboard.

    Fix an apparent off-by-one drawing the title bar.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Oct 18 10:48:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a918901710c8de23089678a7
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Ensure graphics are cached successfully.

    It appears that cache operations in SyncTERM on Windows does not
    currently work with subdirectories for some reason (likely
    backslashes). Ensure that after sending a file to be cached, it
    correctly appears in the cache, and fall back to not using graphics.

    This will fix the blank board issue in minesweeper with a Windows
    SyncTERM and fallback to text mode.

    Once SyncTERM is fixed, it should work in graphics mode too.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Oct 18 12:04:58 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/9546e85ab963cb4e87be0fae
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Be more aggressive about setting mouse modes.

    When starting, turn off all mouse modes, then turn on the ones we
    need instead of relying on the console object to do anything in
    particular.

    On exit, explicitly turn off the two modes we had enabled before
    changing the console setting.

    Maybe this will fix the SyncTERM bug 153
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Oct 18 13:59:05 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f9c9f292a20aeff74e0481c4
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Use ansiterm_lib.js for constructing ANSI mouse reporting set/clear sequences

    Code beautification, no functional change other than we're not clearing mouse mode 1016 since I don't have a definiton for that mode yet.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Oct 18 17:11:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/db7c052b0e10aa2cd397f71c
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Use cterm_lib.js for cterm-specific constants/operations

    Update date display format to be less ambiguous (more international).

    js.exec_dir is guaranteed to end in a slash, so no need to add one.

    Bump version to 3.00.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue Oct 29 19:58:56 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/510fee8b1c70f64bcae961f1
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    Revert back to using system.datestr() for preferred short date display output

    Stripped trailing whitespace
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)