Neptune is a network based variant of the popular SameGame written in Java using the Java Net API and Java SWING.
I wrote this program from scratch back in 2009 at high school as a learning project to get used to network programming and deepen my knowledge about SWING. Furthermore I tried out various design patterns (like a MVC variant) to get used to them. Neptune is based on the Client–server model where the Neptune Server serves the game to the Neptune clients which compete against each other.
The following resources are available in the repository:
- Complete Neptune source code which can be opened directly with NetBeans IDE 8.1
- The protocol specifications: the original specification (v1) and the updated specification (v2) (only in German)
- A short presentation (only in German)
Tip: you can read and see more about Neptune on my project archive here. Check it out!
A downloadable version (most recent from 2009) of Neptune can be found here (in dist/neptune.jar
). No further libraries are needed.
The application uses the following third party libraries:
- RiverLayout by David Ekholm v. 1.1 (2005-05-23), license: LGPL
Licensed under the Creative Commons 4.0 BY-NC-SA license.
This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.