Basic C# Networking Project

For a computer science class, Remoting and Networking with C#, we had a networking project to do that I thought I would put out to see if it helps anyone else looking for a basic networking project with .NET. The project can be found here. As usual the code is licensed with an MIT License, so do with it what you will.

The project has a client and a server app. The client plays a game of Tic-Tac-Toe, and as the game progresses sends messages back to the server via a TCP Stream of messages about the state of the game. These messages are then written to the console of the server. After the client exits the server shuts down.

Some possible future ideas, including making this a GUI application, including a compute based opponent and allowing two different clients to connect via the server and play against each other. All of these would be good ways for this project to move forward.

Hope you like the code.

Justin Yost is a full-time Software Engineer and a part time educator. A graduate of Texas Tech University with a bachelor's degree in computer science, Justin relishes programming and learning more about anything and everything. When not working, Justin occasionally gives talks at the local PHP Meetup. In his free time, Justin enjoys backpacking and reading science fiction books.

Tagged with: , , ,
Posted in Programming, Software Code
Short Link: https://justinyost.com?p=188

Leave a Reply

Your email address will not be published. Required fields are marked *

*