Wednesday, December 15, 2004

I’m working out the control flow of the serial connection of the game between client and Server. I’m beginning to wonder if I have over engineered the protocol. Most of the examples I have mostly open inputsteams and read them. However, one (from a Website which is an excellent reference) opens a DatainputStream instead.

I guess it will be try it and see. One thing I’ve been noticing is that these Streams are closed on each iteration within the Run methods. I’m wondering if I need to do the same, technically I need the streams open for the length of the game but it’s confusing.

The main problem I have is the AcceptandOpen method. This blocks one of the threads until a client connects. The problem I have is that this locks up the game after you attempt to leave the Multiplayer section. I don’t know if this is a problem with the Emulator or if I’m missing something within the implementation. This means more things to add to the testing schedule.

By the end of this week, I’d like one Emulator to be able to challenge another. I’ll then rebuild the game for the 6600 and see if it will shut down the multiplayer section properly.

0 Comments:

Post a Comment

<< Home