Powered By Blogger

2011年5月27日星期五

Baccarat---Java Code

This is a Java code for Baccarat. The rules are very simple:
There is 2 players in total in the game. One of them is the computer, another one is you. If the computer or the player has the pts larger than 8 or 9, then Game over. otherwise, either of 2 players will take the 3rd card. If the computer has the pts less than 5 pts, then it must take the 3rd card, otherwise, it won't.
This game has only 2 rounds in total, but you can develope it more complex.
---Developed in Eclipse-SDK-3.5.2


Download address:www.dropbox.com

没有评论:

发表评论