Original Post
Hey people. First off, I just want to say I'm not new to coding. I'm mainly a game / engine programmer and I have never done any type of network programming before. I know the basic concepts of networking in games, but have never really implemented networking into any of my games before. I need some help as to where to start looking for code or samples, etc. on the following scenario: I wish to implement a multiplayer network sports game where there are 2 football teams battling it out against each other. However, the SERVER is the one doing all the AI and movements, etc. and the clients are just dumb terminals that receive the results from the server and render everything on the screen. There is NO input from the client at all. All he does is watch the match play out. The catch here is, however, I wish to only have one server doing all the work even if there are 200 games going on at the same time. This is so that the server maintains the game even if any one or both of the clients quit their games (either by closing the game or if a crash occurs) Did any of that make sense? The server is simply 1 exe program that I assume will be running a thread for each game that is created. I know I should do a search in the forums, but I'm not sure what I should be searching for. Can this sort of thing be done? Don't worry about the power of the server, I just need to know how to go about doing all this with just one exe running that accepts conections, starts a new game, feed the results to the clients in real time and then kill the game once it is finished. Any help would be great. Thanks!