Hey,
This is a really general question, because I don’t know enough to ask a pointed one.
I’m working on writing a tetris that’s playable over a network. I’ve written up a really nice single player program, but I’m having trouble coming up with a design scheme for network play.
I really just don’t know what tools to use. I’ve got O’Rielly’s “Learning Java”, and I’m playing with RMI, but I really don’t know where to start.
Depending on what the user is doing, I’m rendering the screen every 12-26ms.
How would I go about getting two game running together over the network?
http://joshman.ath.cx:81/bestris.png
My goal is to have it so the local-player controls the game on the left side in that image while the remote-player controls the right side of that screen. Idealy there would be no difference in gameplay if the two players are playing from the same computer (controlling it from the same keyboard) or over the network. I would like to render the block falling just as I would if it was all local.
I’m sorry if this is really vague, but I just don’t know much about network programming.