This project is built with IDE Eclipse.
Like the name of this project, I have made a card game and the rules are rather complicate.
It is possible to play this game with 3 or 4 persons or otherwise some virtual players are provided.
There are three levels of difficulties with these virtual players, which are Easy, Normal, Difficult. This part is the implementation of the Strategy Design Pattern.
And it's possible to play in the terminal and in the graphic interface in the same time, which is realized by Multi-Thread.
-
Design Patterns in this project
-
Visitor
... used for calculate the score of each player. After each round of game, the class of
Visitorwill visit each player's hand cards and calculate their score of this round.file : VisitordeJest.java
-
Strategy
... used for building the virtual players which has three levels of difficulties.
file :
-
Singleton
... used for many classes to keep the changes in memory like the the card deck which is the distributor of the cards.
file : Draw_deck.java
-
Iterator
... used for traverse all the Collections used in the project
file : Draw_deck.java
-
-
Swing Graphic
all of classes in the folder
Vueof the project.example :
-
VMC structure
-
Multi-Thread
-
UML of classes
-
Rules
copy right of the rule belongs to www.goodlittlegames.co.uk








