Hack Forums
[C#] Mutliplayer Minesweeper Flags - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Mutliplayer Minesweeper Flags (/showthread.php?tid=5858353)



Mutliplayer Minesweeper Flags - Auriana - Jul 5, 2018

I wanted to share something I was working on out of boredom and nostalgia. I really missed the game Minesweeper flags so I decided to one in .NET C#.
The server is Written in C++ and the client in C# as well as a MacOS client in Objective-C
It can handle up to any number of instances, and x amount of players in a single instance. The server keeps track of the players scores, time, who's turn it is and displays the board to the clients. I rushed the client because I just wanted to get it done so the code isn't very neat, it's messy and all over the place. But hopefully you guys can write a better client for it. If any of you wants to work with me on writing a better designed client, let me know!  
You'd just launch the server, then for this demonstration only two clients per instance, each time two clients connect they are placed in a game instance. But you can have any number of simultaneous instances.
Here is a couple videos demonstrating a two player instance and a three player instance. Also in the video, the score packet wasn't being handled but in the current revision it is.

Videos
drive[WARNING POSSIBLY INFECTED]google.com/open?id=1dzf2eD8YJVguB2keypSbU54YeJZZmFXf
drive[WARNING POSSIBLY INFECTED]google.com/open?id=1qkwSMmVKfKMEDZiZE5-gIn2JPkQbP7u3

MacOS Client Server Image:
drive[WARNING POSSIBLY INFECTED]google.com/open?id=1cOXYGsMQczsmPh8FpWeuMjy9eKB3fOR7

Source:
gitlab.com/Ephemeral/MinesweeperFlags/

Inside the source is a binary folder that contains the server executable as well as a MacOS compiled Server executable and Minesweeper flags client written in Objective-C. The MacOS binaries run on OS 10.7 and later.