Online Game - School project

Discussion in 'Programming General' started by Quadro, Aug 28, 2011.

Online Game - School project
  1. Unread #1 - Aug 28, 2011 at 1:35 AM
  2. Quadro
    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0

    Quadro Apprentice
    Banned

    Online Game - School project

    Ok so I have a project this school year, it's to make an online game like chess, checkers, black jack, whatever, so I picked chess of course now the game isn't the problem, I have the game completely finished but was wondering how to separate the client and server also how to make the server
     
  3. Unread #2 - Aug 28, 2011 at 8:55 AM
  4. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Online Game - School project

    How to separate the client and the server? They are different programs, that's how. Writing a client and a server to go with it takes some planning and isn't a simple "how to". If you have specific questions I'm sure people would be glad to answer them.
     
  5. Unread #3 - Aug 28, 2011 at 3:39 PM
  6. Quadro
    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0

    Quadro Apprentice
    Banned

    Online Game - School project

    Well my teacher said we have to "separate" the client form the server so I don't really know what to do
     
  7. Unread #4 - Aug 28, 2011 at 3:55 PM
  8. itsboom
    Joined:
    May 7, 2010
    Posts:
    290
    Referrals:
    0
    Sythe Gold:
    0

    itsboom Forum Addict

    Online Game - School project

  9. Unread #5 - Aug 30, 2011 at 1:44 PM
  10. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Online Game - School project

    When I learnt how to do this, it was best described by a Client/Server Chat.

    Take a look at this example: http://pguides.net/java/tcp-client-server-chat
    (Not the best, but it's the first one I found)

    For what I imagine you have to do, it wouldn't actually take that much modification to your code.

    Good luck.
     
  11. Unread #6 - Aug 30, 2011 at 9:32 PM
  12. Quadro
    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0

    Quadro Apprentice
    Banned

    Online Game - School project

    Thanks, this was just what I was looking for
     
< Simple while loop in VB.NET | Generating NPCs like RuneScape? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site