Pong Revolution is a game that I worked on with some of my friends. As the name implies, it is a game, coded in Java, that runs over a network. Essentially, it is pong in a circle.
The game is played with up to four players on a network. Of course, there is a client application and a server application. The server runs and the clients connect using the IP address. We used Apache Thrift in order to implement the network code and send the game objects.
There are two teams: Red team and Blue team. There are two players on each team. Balls spawn out of the middle of the screen and players score points by hitting balls and having them bounce outside of the screen. Players are able to make their paddles jump in order to intercept balls from opponents. Players can also combo to each other and get extra points for bouncing the ball between their teammates. The game is unfinished and we still have some work to do, but the core of the game (volleying balls, jumping, and collision detection)
Update: The java version of the game is complete!
This is meant to be a blog where I posts descriptions of all of the technology projects (as well as technology resources) that I make/use.
Sunday, November 28, 2010
Saturday, November 13, 2010
Liars Dice - An Enterprise Java Beans Game
I just recently finished the first iteration of a game called Liars Dice!
Originally, Liars Dice is a game that can be played with your friends and without your computer. It involves rolling a number of dice that you can hide from your opponents. Players proceed to bid on the total values of dice in the circle. For example, a player might guess that there are 4 dice with a face value of 3. The next player can either make a higher bid, or they can challenge the player before him. If the bid is valid, then the bidder wins. If the bid was not valid, then the challenger wins. For more details, check out this link:
Liars Dice
Anyway, I have implemented this game using EJB. The game uses a server-client setup with a Glassfish database for holding users. The server manages interfacing with the database, and holds session beans and entity beans that clients use to interface with the aspects of the system, such as the games and user accounts. The EJB application client holds all of the Java Swing GUIs and the logic to move between them.
The database holds all of the users that have registered with the game. Each user has a name, password, wins, losses, ban status, and other statistics. There is also an administrator account who is able to ban users and prevent them from logging into the system.
I used the following technologies to build this system:
Netbeans (Java Swing)
Glassfish Server
Java Databases (SQL)
Check out the video:
Sorry for the ultra sound-video lag. I need to find some new screen recording software!
Originally, Liars Dice is a game that can be played with your friends and without your computer. It involves rolling a number of dice that you can hide from your opponents. Players proceed to bid on the total values of dice in the circle. For example, a player might guess that there are 4 dice with a face value of 3. The next player can either make a higher bid, or they can challenge the player before him. If the bid is valid, then the bidder wins. If the bid was not valid, then the challenger wins. For more details, check out this link:
Liars Dice
Anyway, I have implemented this game using EJB. The game uses a server-client setup with a Glassfish database for holding users. The server manages interfacing with the database, and holds session beans and entity beans that clients use to interface with the aspects of the system, such as the games and user accounts. The EJB application client holds all of the Java Swing GUIs and the logic to move between them.
The database holds all of the users that have registered with the game. Each user has a name, password, wins, losses, ban status, and other statistics. There is also an administrator account who is able to ban users and prevent them from logging into the system.
I used the following technologies to build this system:
Netbeans (Java Swing)
Glassfish Server
Java Databases (SQL)
Check out the video:
Sorry for the ultra sound-video lag. I need to find some new screen recording software!
Subscribe to:
Posts (Atom)