Re: [Twisted-Python] Small practice application

2010-09-30 Thread Glyph Lefkowitz
On Sep 30, 2010, at 1:51 AM, Zubin Mithra wrote: > However, I am confused on how to write data over to a particular player(0 or > 1). Is there any way I could choose to write to a particular object? > Sure, make self.factory.connections into a dictionary which maps player names to connection

Re: [Twisted-Python] Small practice application

2010-09-29 Thread Zubin Mithra
> > Hi everyone, > > I've decided to write a Tic-Tac-Toe gameserver and client(no biggie, just > for getting used to twisted as I'm pretty new to it). The gameserver > facilitates the connection between two clients and maintains the game state. > > I'm having trouble deciding how to create factorie

[Twisted-Python] Small practice application

2010-09-29 Thread Zubin Mithra
Hi everyone, I've decided to write a Tic-Tac-Toe gameserver and client(no biggie, just for getting used to twisted as I'm pretty new to it). The gameserver facilitates the connection between two clients and maintains the game state. I'm having trouble deciding how to create factories and protocol