Adblock breaks this site

Online Game - School project

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

  1. Quadro

    Quadro Apprentice
    Banned

    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0
    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
     
  2. SuF

    SuF Legend
    Pirate Retired Global Moderator

    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
    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.
     
  3. Quadro

    Quadro Apprentice
    Banned

    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0
    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
     
  4. itsboom

    itsboom Forum Addict

    Joined:
    May 7, 2010
    Posts:
    290
    Referrals:
    0
    Sythe Gold:
    0
    Online Game - School project

  5. wackywamba

    wackywamba Guru

    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1
    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.
     
  6. Quadro

    Quadro Apprentice
    Banned

    Joined:
    Feb 4, 2011
    Posts:
    869
    Referrals:
    0
    Sythe Gold:
    0
    Online Game - School project

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


 
 
Adblock breaks this site