• xtrn/minesweeper/minesweeper.js

    From rswindell@VERT to CVS commit on Mon Oct 7 18:06:46 2019
    xtrn/minesweeper minesweeper.js 2.0 2.1
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv17715

    Modified Files:
    minesweeper.js
    Log Message:
    Track game start/end times in milliseconds for more accurate ranking of winners. The "Winners" syncdata message are backwards compatible with rev 2.0 and earlier, but now contain the fractional seconds.
    When displaying winners from within the game, prompt for difficulty level
    (e.g. list top level 1 winners only). Since players often compete on time and don't really care about the higher difficulty level rankings.
    The "winners" command-line option still displays the top winners from all levels, but renumbers them based on the (rounded-up) difficulty level.
    Handle syncdata messages with tear lines (---) or converted tear lines (===) which interfere with JSON-parsing. Since the message tail is not read, tear lines are not normally an issue, but converted tear lines (e.g. by SBBSecho) are imported as part of the body text and caused JSON parse failures, e.g.
    === minesweeper.js 2.0
    --- SBBSecho 3.06-Win32
    ... now fixed.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Nov 4 01:58:38 2019
    xtrn/minesweeper minesweeper.js 2.3 2.4
    Update of /cvsroot/sbbs/xtrn/minesweeper
    In directory cvs:/tmp/cvs-serv10745

    Modified Files:
    minesweeper.js
    Log Message:
    New features:
    - After a lost game, allow the use of (D)isplay to toggle the game board
    display from the normal (all cells uncovered) to the last state of the board
    and the number of remaining mines, difficulty level, and remaining time
    - (W)inners command now supports [All] option which displays the top-N winners
    of each level instead of only top-N winners for a specific difficulty level
    - New (B)est command displays your personal best win times
    - Display game times in fractional seconds (milliseconds), always
    - Upon winning a game, inform the player if the win is a high/ranked time for
    that difficulty level or a personal best time



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Apr 6 01: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.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 8 04: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


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 8 10: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.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 8 12: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...




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 8 13: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.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thu Apr 9 01: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)




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 1 07: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.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue May 12 06: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.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 24 07: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



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Aug 4 02: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.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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 option

    A periodic (e.g. weekly) digest of high scores posted to SYNCDATA
    will allow BBSes to have an accurate list of global high scores
    without 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).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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 display

    De-duplication wasn't working

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net