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.
Apes throw Bananas – An addictive casual game
The player controls an ape. His goal is to hit an enemy ape with bananas.
I wrote this game mainly to get to know slick2d, so do not expect too much. Especially the enemy ai is weak and graphics are unfinished.
I think it is fun to play anyways, so who knows, you might like it as well.
What you get:
- 9 level
- Playable with mouse OR keyboard
- You get to throw bananas at apes!