Usually, when speed is at stake, you would want to represent the board as a
2D array.  For example you can write tic-tac-toe w/ AI in only a page of
code.  If you are talking about applet->servlet communication or pseudo
object RMI, then you might want to pick up  "Java Developers Guide to
Servlets and JSP" by Brogden pub. SYBEX.  He has a whole chapter on applet
and servlet communication.

Jacob

-----Original Message-----
From: Mark [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, January 18, 2003 2:48 PM
To: Tomcat Users List
Subject: Game server - two player board game

Hi, I'm using Tomcat 4.1 to set up a game server for the two player board
game, Tanbo (similar to Go). Basically, I will be providing one board and a
waiting list, and a chat.

I need advice on how to set up the object architecture. I'm considering
using an int array to represent the board. And possibly a separate class to
evaluate legal moves.

I need advice on security, persistence, thread safety and anything else that
I might need to know to make this a successful web site (tanbo.com).

Thanks in advance.

Mark Steere
[EMAIL PROTECTED] 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to