TrapGame - Multiplayer game with Swing/AWT

Available on gamejolt: http://gamejolt.com/games/trapgame/145922

TrapGame is a multiplayer desktop game about strategy and spam-clicking. This old concept is inexplicably fun and addicting. The more players the more fun the game is. I personnally made this game because I love that game concept I discovered as a mod of another game. Go ahead and try it, the game has a tutorial and a demonstration.

Screenshots: (you can click them)



https://raw.githubusercontent.com/WinterGuardian/TrapGame/master/dev/screenshot2.png

https://raw.githubusercontent.com/WinterGuardian/TrapGame/master/dev/screenshot3.png

https://raw.githubusercontent.com/WinterGuardian/TrapGame/master/dev/screenshot4.png

https://raw.githubusercontent.com/WinterGuardian/TrapGame/master/dev/screenshot5.png

How to play: There’s a board with a definable size and each player has his own color. First you can click any square on the board if the square hasn’t already been clicked by another player. After you take your first square you can only take adjacent ones. The winner is the player with the biggest area. In order to win, trap players around your color to restrict their area. An area only accessible by a player will automatically become his.

The client has been made with swing and awt java libraries. I made the images by myself only with Gimp 2 and free of rights images founds on google.com I used java.net to send UDP packets between the client and the server. I first made the game with TCP but changed when the game got more reactive.

The game is in french and english and could be easily translated to another language, translations are loaded from a properties file. The game server can log to disk and both client and server are logging to console.

I made this game first for fun but also because I wanted to pratice networking in Java. In fact this was my first online multiplayer game and I’m really happy about it. It might have been with swing/awt which isn’t a tool for video games and it might not have the best graphics but I personnally think I did a great job. I won’t put more work on it though, I plan to start making a libGDX project with a friend.

The game is available on github with a more detailed readme: https://github.com/WinterGuardian/TrapGame