or should I have "class splash_screen , etc"?.
Thanks

there's no right or wrong. just code and code, and after you gained experience you will be able to decide whats the best way to go for each situation3DModelerMan wrote:Hi I was wondering what the best way to program a game is... should I have seperate parts of it in seperate functions (int splash_screen() , etc)
or should I have "class splash_screen , etc"?.
Thanks.
You are an AI expert isn't it JP, I'm glad to hear that FSM aren't obsolete, I made a little AI module using FSM in my Theory of Computing course.JP wrote:FSM's are in no way limited to AI, that's just one of their uses and i should think they're far from obsolete!
"The guy" isn't my audience, since he never reads past the first sentence of any reply anyway.CuteAlien wrote:Don't confuse the guy with FSM's.
You mean, like he dares to stop reading after:rogerborg wrote:"The guy" isn't my audience, since he never reads past the first sentence of any reply anyway.CuteAlien wrote:Don't confuse the guy with FSM's.
How outrageous...rogerborg wrote: Your design patterns have no honour!.