I started to work on an "api" to do the dirty job for the game, so we just need to call some functions and all the stuffs will be set up. I am trying to make the api as general as possible, so I can use it later again for many purposes;
For now, I am developing three classes:
Network -- controls network communication between server and players, can be used by the server as well by the client.
Thread -- a superclass with general thread functions. for instance, network needs a Thread subclass to accept new players.
Core -- this class will control the interations between the players and manipulate them.
I am sure the project will need much more later, but, they should be enough for now.
No comments:
Post a Comment