def c_login(client):
 cname = (DUMMY_NAME % client.gid)
 cpwd = (DUMMY_PWD % client.gid)
 roomname = (ROOM_TEMPLATE % client.counter())
 exitname1 = (EXIT_TEMPLATE % client.counter())
 exitname2 = (EXIT_TEMPLATE % client.counter())
 client.exits.extend([exitname1, exitname2])
 cmds = (('create %s %s' % (cname, cpwd)), ('connect %s %s' % (cname, cpwd)), (('@dig %s' % START_ROOM) % client.gid), (('@teleport %s' % START_ROOM) % client.gid), ('@dig %s = %s, %s' % (roomname, exitname1, exitname2)))
 return cmds

def c_login ( client ) : cname = ( DUMMY_NAME % client . gid ) cpwd = ( DUMMY_PWD % client . gid ) roomname = ( ROOM_TEMPLATE % client . counter ( ) ) exitname1 = ( EXIT_TEMPLATE % client . counter ( ) ) exitname2 = ( EXIT_TEMPLATE % client . counter ( ) ) client . exits . extend ( [ exitname1 , exitname2 ] ) cmds = ( ( 'create %s %s' % ( cname , cpwd ) ) , ( 'connect %s %s' % ( cname , cpwd ) ) , ( ( '@dig %s' % START_ROOM ) % client . gid ) , ( ( '@teleport %s' % START_ROOM ) % client . gid ) , ( '@dig %s = %s, %s' % ( roomname , exitname1 , exitname2 ) ) ) return cmds
logins to the game .