07.20
Background
This program is based on my self-study of the Java language. Through this project, I familiarized with the Java language, designed a special algorithm of “Gobang Game”. I also learned the principle of connecting two PCs by the knowledge of TCP/UDP protocols and multi-threading processing.
Main Functions
One Player Mode: Player against the computer by thealgorithm designed by myself.
Two Players Mode: Two players can either play on the same computer or on different computers using the network.
Two players play with the help of the Internet or the local network.
Realize the “Undo” function; record every step, in order to analyze the situation for further analysis.
Technical Difficulties
The algorithmic of “Gobang Game”. How to implement the intelligence of the program is the key.
The function of “Undo” Button by recording every step.
TCP protocol and SOCKET programming
Respond to the mouse Event
Multi-Threading Technology
Replant to Windows Mobile Platform. (Unfinished)
Download
Download (Source files)
Download (Document files)
January, 2006
116 comments so far
Add Your Comment