Standard Deck of Playing Cards - Basic Game Mechanism - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task :

This assignment carries 60% of the overall coursework mark for the module. Introduction 

Elevens is a single-player card game that uses a standard deck of playing cards. The object of the  game is to remove all 52 cards from the playing area by matching them in one of 2 ways as  follows: 

i) by removing a pair of (non-picture) cards for which the combined rank value is 11 (i.e. a  pair of cards where neither is a Jack, Queen or King). The rank value of an Ace is 1 and  cards from 2-10 take the rank value of their number. Pairs that can be removed are  therefore Ace and Ten, Two and Nine, Three and Eight, Four and Seven, Five and Six. 

ii) by removing a King, Queen and Jack (of any suit or mixed suits) at the same time. 

The game begins by dealing 9 cards from a shuffled deck, so that the cards are face-up (i.e. the  values of the cards are visible). The player examines the 9 cards and, if two or three cards can be  seen that satisfy either of the removal conditions above, those cards can be removed. As cards  are removed, they are replaced by cards from the remainder of the deck, for as long as the deck  has cards remaining. 

 

 

Required Functionality 

There are 6 levels to which the submission can be completed – attracting increasing rewards. 

Level 1: The facilities to create a new game are present and the game can be set up in its  initial state, with 9 cards dealt face-up from a shuffled deck. 

Level 2: The basic game mechanism is in place. Users can select legal combinations of  cards to be removed and they are replaced by new cards dealt from the deck (for  as long as the deck has cards available). 

Level 3: A full playable game is available. The application is able to prompt the player  when the game is won (all cards removed) or lost (stalemate is reached as no  cards can be removed).

Level 4: The game is able to provide a hint to the player (on request) suggesting a valid  move or confirming that no move is possible. 

Level 5: On completion of a game (whether the player has won or lost) the application is  able to replay the game move by move, with the user prompting each replayed  move by a keypress. 

 

This Engineering Assignment has been solved by our Engineering Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.