while( !done) {
pull incoming socket data into buffers
handle player input
do combat updates
do environment updates
flush outgoing buffers to sockets
}
while( !done) {
pull incoming socket data into buffers
handle player input
do combat updates
do environment updates
flush outgoing buffers to sockets
}
With all that dramatic BS out of the way I have downloaded the sources code of diku++ from this website to kind of see how a game is structured using C++. The good news is, when i scan through the source code it makes sense to me, somewhat I would have to go into depth in studying the nature of the different variables and where they lead too, but nonetheless I can make out what it is doing with the familiar code structure.
Simple question.. How do I start with my own MUD? It is a very vague question I know, but even as long as I have been playing, and been exposed to programming there is always one thing that lacks in my knowledge and that is.. where do I begin? Do you start by making a menu? a welcome screen?
I already started making my own MUD type of game, but to be honest even though it contains ifs and else statements, a few good loops and menu options, I even created a program that the user has to enter a predetermined username and password… but even with all those gadgets, the game still feels linear.. even though there isn't any kinds of monsters or the ability to chat, those come much much later. I am talking about the core foundation of a mud. HOw does that start? And is there a place on the internet, here included, where people like me are asking the same question and is willing to get together, virtually, and starting creating a game together.
I know its a lot of questions and I appreciate the time the people took to read this. Any responses would be greatly appreciated!