NTU IEEE Hackathon 2016
Two-to-four-player real-time minesweeper battle on the same minefield, competing to uncover the most number of correct flags with fewest penalties.
- Open client page, input in your nickname, then click "Start" to enter the matchmaking queue in order to find a suitable opponent. In one round, there will be at least 2 players and at most 4 players.
- Play minesweeper normally (See rules).
- Game is over when all mines are flagged or uncovered.
- Every correct flag is going to rewarded +1 point, and every wrong flag or triggered mine will penalized the player by -1 and -5 points respectively.
- Winner is determined by highest score. Draw is declared in case of tie.
- At "client" folder, open
index.html
at any modern browser (alternatively, access it at Rawgit) - Important: Wait for another player to start find match. You can try to simulate two users at one on one machine by opening the same page in a new tab.
- At "server" folder,
npm install
(to install dependencies) - To run,
node index.js
- Client-AI can connect to the server and act as the AI opponent for the match.
- At "client-ai" folder, execute
pip install -r requirements.txt
- To run AI,
python main.py
Allows more than 2 players at one boardDone per dfe5b80- Dynamic board size, according to number of players.
- Smarter AI. Currently, the AI only moves when there is a trivial action.
- Records player's game result and predict their skills accordingly.
- Better matchmaking algorithm according to user skills.
- Possible additional game modes, e.g. no-flag mode.
- In-app purchase to obtain special flag design, etc.