Installation comments added.
If the script crashes with an unhandled exception, posts a message to me in syncdata with the details, automatically. Use lower intensity colors for most of the indicators. When a cell with a digit is selected, highlight the surrounding cells with high-intensity colors (very helpful for the game play!). Guarantee that the first cell uncovered won't be a mine (thanks, Nelgin!) Winner syncdata messages now include an MD5 sum so it's not so trivial for sysops to edit their messages and "cheat" the scoring/ranking parameters. Strip control codes (including Ctrl-A sequences) from syncdata msgs before trying to JSON.parse() them, thanks Nelgin! Allow the 'F' key to start the game. Start with the selected cell being the center of the board. The '5' key (middle of numpad) will move to center of board. Don't abort game on Ctrl-C press. When [N]ew Game is selected a game is in progress, prompt "New Game (Y/N)"? When [Q]uit Game is selected a game is in progress, prompt user. Added support for "nocls" cmdline option. Added support for number of winners to be specified on cmdline when the "winners" cmd is used. Thanks to Nelgin for many of his suggestions and test results. Need more testers and feedback!
Showing with 197 additions and 43 deletions