ws = create_connection("ws://153.12.13.51/ws/")
ws.send("action=auth&login=Terminal13&passw=TTT")
print ws.recv()
ws.send("action=code_in&code=0)
print ws.recv()
ws.send("action=game&id=3000&verbose=1")
print ws.recv()
ws.send("some text")
print ws.recv()