namuol/minetweeter
Play MineSweeper on Twitter.
{ "createdAt": "2015-06-04T07:46:29Z", "defaultBranch": "master", "description": "Play MineSweeper on Twitter.", "fullName": "namuol/minetweeter", "homepage": "http://twitter.com/minetweeter_", "language": "JavaScript", "name": "minetweeter", "pushedAt": "2015-06-04T08:05:47Z", "stargazersCount": 43, "topics": [], "updatedAt": "2019-08-18T16:45:53Z", "url": "https://github.com/namuol/minetweeter"}A twitter bot that generates MineSweeper games and accepts commands via @mentions.
ABCDEFGHI.........J11..111..K=2..1^1..L=2..111..M=1111....N===^31...O====^1...P====22232Q====^1^^^R
. REVEALED BLANK/EMPTY SPACE= NON-REVEALED SPACE^ FLAGGED SPACECommand Syntax
Section titled “Command Syntax”<action> <x> <y>
Available actions:- click- flag- unflag
Example actions:click A Jflag E KWhy would you make this?
Section titled “Why would you make this?”Stares off into the distance, smiling manically.
Huh?
Game Logic
Section titled “Game Logic”If you’re looking for some example code for generating, rendering, and evaluating the state of minesweeper boards, check out these files:
- src/createBoard.js
- src/gameStateToString.js
- src/MinesweeperGame.js