News for hackers. Stuff that matters.
Re:Steve Yegge: Singleton Considered Stupid  by Tichy on Tuesday May 27, 2008 @12:15PM (#201114)
I guess it will fly in your face once you'll try to create multiplayer games and serve several games at the same time?

What do you gain from making a game a singleton?

Re:Steve Yegge: Singleton Considered Stupid  by DanHulton on Tuesday May 27, 2008 @12:20PM (#201124)
Well in that case, I'd have a Server class and a Client class. One handles logic and the other handles display and input.

And actually, for my last little prototype (now that I think about it), I didn't make it a singleton, I just had a single public instance of it.

Question retracted.