Thread: Simple Network Game Programing...

  1. #1
    Registered User IndioDoido's Avatar
    Join Date
    Apr 2007
    Posts
    194

    Simple Network Game Programing...

    Hi...

    I need to develop a simple network game for linux in C.
    The game is really basic, for example, two dices are launched, and each player has to guess the sum of the dices values. No problem here...

    But the game has to be played by a minimal of 2 and a maximum for 10 players. I need a tutorial or manual on how to make the network part of the game work.

    The game is to be in unicast, and the players my be able to send messages to the other players.
    I have some UDP and TCP code examples but don't know how to use them

    Can anyone help?
    "Artificial Intelligence usually beats natural stupidity."

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    So have you read "beej" yet?
    Have you read the intro thread at the top of this forum?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User IndioDoido's Avatar
    Join Date
    Apr 2007
    Posts
    194
    hum "Networking/Device Communication" !?!

    Did i post in the wrong place?
    "Artificial Intelligence usually beats natural stupidity."

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    No, the "useful links and good books"
    http://cboard.cprogramming.com/showthread.php?t=41926
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User IndioDoido's Avatar
    Join Date
    Apr 2007
    Posts
    194
    ups! sorry Salem, didn't notice that :S

    Thanks for alerting me
    "Artificial Intelligence usually beats natural stupidity."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. i have to write simple car racing game?
    By iskelet in forum Game Programming
    Replies: 1
    Last Post: 04-01-2009, 04:34 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  3. a simple Dev-C++ game graphics system
    By shintaro in forum Game Programming
    Replies: 1
    Last Post: 08-11-2005, 05:49 PM
  4. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM
  5. my new (simple) game
    By dune911 in forum C Programming
    Replies: 14
    Last Post: 03-16-2002, 03:20 PM