34

I'm making multiplayer minesweeper using NodeJS and so far so good but I can NEVER FUCKING FOCUS ENOUGH. Like damn, I should be way further along with this shit.

Comments
  • 5
    Interesting challenge. It's going to take an algorithm.

    First!
  • 1
    Addy ftw 🤷🏻‍♂️
  • 3
    How can minesweeper be multiplayer?
  • 1
    @Zlytherin kinda like Jenga? You click until someone fucks up and triggers the bombs
  • 3
    @Zlytherin msn had it.
    One move per turn, whoever has the most valid flags wins.
  • 2
    @Stuxnet I was think you prevent the other guy from blowing up your board like competitive Tetris.
  • 4
    @billgates @Codex404 @Zlytherin

    The way I'm implementing it is non-turn-based. Each player (as many at a time as you would like) has a certain amount of lives. Everybody plays on the board at the same time and gathers points based in the tiles they clear. You get a number of points based on how many bombs we're in proximity to the tile you cleared (this is what the number on the tile represents) and 10 points for a correctly marked bomb. There is a 5 point penalty for an incorrectly marked bomb. Game ends when all non-bomb tiles have been cleared or the time limit has run out. Bonus points are given based on things like lives remaining and most tiles cleared. Player with the highest score wins.
  • 2
    @AlgoRythm so share same board? But then everyone will fight over who gets to Mark first and you need to send updates each time someone clocks on a tile?

    That's complicated and well honestly why? Not sure minesweeper is really a game for real time multiplayer.
  • 3
    @billgates Yes, it is very competitive and time-based. Not your mother's minesweeper. It's going to be great.

    Another thing is the board can be very large (any size, I have had up to 512x512) with a time limit, so you can basically give everyone their own little area to clear as many mines as they can in x minutes, similar to normal minesweeper.
Add Comment