How to use Makefile:
$ make target - build the project
$ make orbd|client|server - run the individual components
$ make clean - clean temporary files
$ make clobber - wipe everything that is generated
Do the following steps to start application: (1) Compile project:
$ make target
(2) Start the ordb:
$ make orbd
orbd -ORBInitialPort 1057 -ORBInitialHost localhost
(3) Start the chat server in the second terminal window:
$ make server
/usr/bin/java ChatServer -ORBInitialPort 1057 -ORBInitialHost localhost
ChatServer ready and waiting ...
(4) Finally, start up the chat client in the third window: (And maybe a few more if you want to test it alone)
$ make client
/usr/bin/java ChatClient -ORBInitialPort 1057 -ORBInitialHost localhost
Commands ingame:
join <username> - join chat and all
post <message> - write to anyone online
leave - leave chat or othello
othello <color> - o = team o, x = team x
insert x y - x,y => coorinates to place mark
Node: To win othello, you have to get 4 in a row...