Carleton University - School of Computer Science Honours Project
Fall 2018
Machiavelli (Italian Card Game)
Siraj Ahmadzai
SCS Honours Project Image
ABSTRACT
Machiavelli is an Italian card game belonging to the Rummy family that compels players to engage and think. It supports up to 4 players and can be played over the network. The game requires two decks of 54 standard playing cards, and the winner is the first player to play all his/her cards. The dealer is chosen at random and deals 15 cards to each player in a clockwise direction. After dealing, the remaining deck is placed in the center of the table. The objective of Machiavelli is to play your cards by making melds from cards dealt to you or drawn from the deck. A meld can be created by having 3 or 4 cards of the same rank but different suits, a sequence (or straight) of 3 or more cards of the same suit in ranking order, or a marriage (King followed by Queen) or Bezique (Queen followed by Jack). A player may also change a meld already played by adding one or more cards to the table. Once you have played your cards, the turn passes to the player on your left. JavaFX was chosen for building the GUI (Graphical User Interface) because it supports various platforms and is very flexible to use due to its interactive UI (User Interface) designing power, which can be combined with JAVA. The main emphasis of this game was to use the Reactor and the Proactor networking patterns in the same domain and to analyze the difference between the two.