• xtrn/minesweeper/minesweeper.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, November 22, 2022 18:31:51
    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 Tuesday, November 22, 2022 18:31:51
    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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, October 01, 2024 11:09:22
    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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 18, 2024 10:48:51
    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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 18, 2024 12:04:58
    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

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, October 18, 2024 13:59:05
    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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, October 18, 2024 17:11:06
    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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, October 29, 2024 19:58:56
    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

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