#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    58
    Rep Power
    11

    online game thingy


    i want to make a simple chat program. basically just
    type, press enter, and then have it show up to everyone on their screen. Its mostly for me to learn how to do online stuff. Anyone know where a tutorial is for this or have some simple code?
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    There have been a few people writing small messenger programs and IRC bots etc.

    If you do a quick search of the forum (for 'chat') you're bound to pull some intersting things. For example, here's a good one by Xx - a very nice working example. But it is command line based, not GUI.

    http://forums.devshed.com/t130438/s.html&highlight=chat

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    There are not too many tutorials on writting specific programs.

    Assuming it is not web-based your application will be using something like the socket module or the twisted framework.

    http://www.amk.ca/python/howto/sockets/
    http://www.twistedmatrix.com/

    There have been a number of threads in this forum for chat or IM - the search facility should help.

    grim

IMN logo majestic logo threadwatch logo seochat tools logo