Class pong

java.lang.Object
  extended by pong

public class pong
extends java.lang.Object

Implementation of classical "PONG" game modified to pass ball over TCP/IP connection. You need to run two instances (client + server). Game takes one optional commandline argument specifiing remote host running the server (localhost is default). If there's no server running on desired hostname, server is started on local machine on port 1033. Copylefted by: Harvie 2o1o


Constructor Summary
pong()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

pong

public pong()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException