|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pong
public class pong
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 |
---|
public pong()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |