Type: Posts; User: noctarius
Well that's a good question. Depends on what you want to do. You could do some simple Games like Pong for 2 Players on different PCs but that is not only networking but some "game programing" too. On...
In theory you would need to learn the way the protocol is designed but it's not some kind of a programming language but more a design of how a stream of bytes is transmitted. For example:
If you ever see a coder adding 100 parameters to a method call - just kill him ;-)
But yeah you're right it would be way better. Varargs is just syntactic sugar for fast calls like reflective...
Why not start with looking at existing projects sourcecode?
You can do that but it would need to implement a basic JVM-Kernel which than can be extended using Java itself. There were some projects doing research in that topic (even SUN had a real Java OS...
Ah I see they called it "connect four" in english :-) Connect Four - Wikipedia, the free encyclopedia
i meant the game "4 wins" which has a lot bigger gameboard than tictactoe and then imagine your switch or if-block :-)
Here's an older recursive winner search algorithm for an "4 wins" game I made...
But the bigger the gameboard the bigger the array
Have you thought about what your "win-calculation" algorithm would look like if the game has 200 fields (4 wins would be ugly in your way :))? I would suggest to implement a recursive search...
Here are bigger introduction into the proposal:
Just started a discussion about the first ideas on how to implement Properties in Java. Many of you possibly know Properties from other languages like C#. I would be happy if anyone of you interested...
Your code? Are you sure that it's not your task to find and correct the errors in the code? :-)
Head First: Java
A Java Agent is a small Java lib that has access to internas of the JVM like Instrumentation API.
Why does your client "need" to close the socket?
Sorry but all that comes to my mind is: OMG -.-
Wow nice ones :)