you are to create a variation of the popular card game SOLITAIRE using stacks and queues. Here is a picture of the layout of the game.

Deck/Stock - A pile of cards, face down, which are left over after setting up the other layout areas. These are turned over one-at-a-time into the waste. For your program this pile of cards MUST be stored in a STACK.

Waste - The area where the cards from the deck/stock go when they are brought into play. Only cards from the stock can be played to the waste. Only the topmost card can be moved to either the foundation or to the tableau. For your program this pile of cards MUST be stored in a STACK.

Foundations - The aim of the games is to clear the tableau and move all the cards to the foundation. They are built up by suit from Ace(1) to King(13). Assume at the start of the game, the four ACEs are already placed on the foundation. For your program this pile of cards MUST be stored in four separate STACKs (one for each suit). Recommended you use an ARRAY of stacks for this.

Tableaus - This consists of a number of piles where cards can be moved from one tableau to another or from tableau to a foundation. For your program this pile of cards MUST be stored in 7 STACKs and 7 QUEUEs. Each tableau (ex. T4 see picture) has both a stack and a queue. The stack holds the cards that have been turned over while the queue holds the cards that have not yet turned. At the start of the game Tableau 0 (T0 see picture) starts with a queue containing 1 card, T1 has two cards, T2 has 3 cards and so on. The game begins by DEQUEUING one card from each of these queues and placing it into the stack of the tableau. Hence, the T0 queue begins the game with 0 cards, T1 queue has 1 card and so forth while each of the tableau stacks have the one card to start with (the topmost card you can see). Recommended you use an ARRAY of 7 queues and another ARRAY of 7 stacks for this.

Creating a shuffled deck of 52 cards

NOT GUI only progarm

Taidot: Java

Näytä lisää: data structure programs in java, how to learn data structures in java, data structures in java syllabus, types of data structures pdf, interesting data structures, data structure and algorithm in java, tree data structure in java, linear and nonlinear data structure wikipedia, java data structure queu simulation, suffix array data structure java, data structure project java railway system country, data structure java perl php, java data structure maximum size, convert data structure java, card game using java data structure gui, card game using java data structure, java data structure project, search words java data structure, stack simple java data structure, queue java data structure

Tietoa työnantajasta:
( 5 arvostelua ) kamloops, Canada

Projektin tunnus: #23902129

Myönnetty käyttäjälle:


Feel fee to contact me for .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] you

$100 CAD 1 päivässä
(63 Arvostelua)

8 freelanceria on tarjonnut keskimäärin 101$ tähän työhön


Hi there, the variation of the solitaire game you're referring to is also called FreeCell. I've done games like this before. I would like to do this project if given the opportunity. Let me know if you are interested.

$70 CAD 2 päivässä
(1078 arvostelua)

Hi there I am a senior software engineer with 10 years of practical programming experience. I have excellent programming and development skills in various programming languages and frameworks. I am interested in your Lisää

$250 CAD 5 päivässä
(347 arvostelua)

Hi I can deliver you this card game. I am an engineer and have done many java projects. Kindly contact with me for this project to discuss more. Thank you

$200 CAD 7 päivässä
(60 arvostelua)

Hello I am a Java developer and I am interested in your project. I want to do your project in your given deadline. My main focus is give u a good result according to your requirements.

$111 CAD 1 päivässä
(6 arvostelua)

Hi, My name is Ossama I am Preferred Freelancer I have 6 years of experience as a full-stack developer. I have a strong grip on these technologies: ✅HTML ✅CSS (SCSS,LESS) ✅Javascript ✅PHP ✅Angular ✅Java ✅C++ ✅Node.js Lisää

$20 CAD 7 päivässä
(2 arvostelua)

I'm a professional java developer I will do you project adhering to best coding practices. I have over 5 years of experience in developing java applications

$30 CAD 3 päivässä
(0 arvostelua)

Hello Sir/Ma'am, I have read your project description and i can do this work. Lets have a chat to discuss about its details a bit more. Kind Regards

$25 CAD 3 päivässä
(0 arvostelua)