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!
No comments:
Post a Comment