Cooperative Minesweeper

Cooperative Minesweeper is exactly what it sounds like. Used Jim McCann's maze code as starter code.

Goal

I wanted to make a multiplayer version of minesweeper.

Method

This game is the simplest version of multiplayer minesweeper that I could think of, that is, everyone is playing on the same board. The game works exactly like minesweeper except an unlimited number of people can play, and you can see others' clicks and updates as you play. If one person loses, everyone loses.

The games are split up by names -- to join a game, pass the name in to the client when running it. This makes it possible to join a "room" where your friends are playing.

Novelty

Everyone gets to play at once. Because it's so much nicer playing minesweeper when you can see that other people are playing it with you!

Results

I'm not really sure how effective the idea was, but I did accomplish what I set out to do. To make it more competitive, I could add a point system so that a player gets points for each successful click. Or I could portion off the board randomly so that each player can only click within certain bounds and so that it is truly cooperative. Or perhaps some sort of adversarial approach might work, where one player is shifting bombs during play and the other is avoiding them.