Simple Network Game Programing...

This is a discussion on Simple Network Game Programing... within the Networking/Device Communication forums, part of the General Programming Boards category; Hi... I need to develop a simple network game for linux in C. The game is really basic, for example, ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    No, the "useful links and good books"
    Useful Links And Good Books
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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, 12: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, 02:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21