Results 1 to 2 of 2
  1. #1
    michealsmith is offline Member
    Join Date
    Nov 2010
    Rep Power

    Default How to add online two player to a Java game?

    I have programmed a Java game that is played through an applet on my website, what technologies would be required to add online multiplayer?

  2. #2
    Mr.Beans's Avatar
    Mr.Beans is offline Senior Member
    Join Date
    Apr 2009
    Virginia Beach, Virginia
    Rep Power


    I'm assuming you want two players to be able to play each other remotely. In which case you will need to create a connection between the two programs so they can communicate what is going. How they communicate is completely up to you and how it would work best for the type of game you made.

    However you go about it, you will need to use java sockets. Here is a tutorial which will help point you in the right direction of understanding how you are going to get the two games to communicate.

Similar Threads

  1. how to log into a game with my class
    By basketball8533 in forum New To Java
    Replies: 11
    Last Post: 10-13-2010, 01:40 AM
  2. Replies: 0
    Last Post: 11-23-2009, 11:46 AM
  3. Replies: 22
    Last Post: 04-21-2009, 06:40 PM
  4. A Online Card Game
    By GonzaloP in forum Networking
    Replies: 0
    Last Post: 12-28-2008, 07:37 PM
  5. [SOLVED] Structure of db for online game
    By jSarK0Y in forum JDBC
    Replies: 1
    Last Post: 05-20-2008, 11:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts