This is the first part of a Series about different Guis and how to implement them. To demonstrate the game Snake will be used. In this part I will show the development process of a Java Game using Java Swing.
- Java Swing
- General Structure of Java Program
- Swing implementation
- Download Snake and Source Code
The planned parts of this Series:
I will start with Swing.
Connect 4 including AI
- System Requirements / Performance info
- Source Info and implementation details
- Download Connect4 Game and Java Source Code
Everybody knows it, everybody loves it: Connect 4. Place your stones so that they connect in a row of 4 pieces diagonally, horizontally or vertically and win.
You hate “4-In-A-Row” – the Connect4 game that e.g. comes per default with ubuntu – because even on the easiest setting it always beats you? Download this game! Its AI makes thoughtful but not too hard moves, it will feel like playing against an actual human being – that’s just a little worse than you are ;) It is also possible to play against another human being. The second player uses right-click to place.