JAVA DATA_STRUCTURE

Ditutup Disiarkan 4 tahun lepas Dibayar semasa penghantaran
Ditutup Dibayar semasa penghantaran

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

Java Kejuruteraan Perisian JavaScript

ID Projek: #23902940

Tentang projek

9 cadangan Projek jarak jauh Aktif 4 tahun lepas

9 pekerja bebas membida secara purata $36 untuk pekerjaan ini

usman1493

Hello, Greetings. A Java expert developer is here. I have good advanced expertise in Java and Javafx. I can help you with your Java project. This is an initial bid. We can discuss about more details over chat. Regards

$30 USD dalam sehari
(236 Ulasan)
7.0
koustav2006

HI..I am proficient in core Java OO programming along with data structures, algorithms and can help you write the console based card game as per given specs.

$70 USD dalam 2 hari
(267 Ulasan)
6.8
corke123

Hi. I would like to do this project for you. I am quite good at Java and data structures and I can make you this card game easily. Message me to discuss more details about your project

$30 USD dalam 5 hari
(66 Ulasan)
5.5
tuanthanhle

I can do it. i am very good at java. I think i can help you on this project. Please share more detail.

$45 USD dalam sehari
(15 Ulasan)
4.2
ai275709

Sir i am student of computer sciences. I recently clear the course of data structure and algorithm . I complete this type of tasks . I also complete your tasks .please try me.

$25 USD dalam 4 hari
(8 Ulasan)
3.0
oemnadze

I have been a competitive programmer for more than 5 years, so I have a big experience in algorithms and data structures. I also worked with Java and I'm sure I can handle this easily.

$30 USD dalam 7 hari
(6 Ulasan)
2.8
VishuDhameliya

I am a C/C++, Python, Java expert with 2 years of competitive programming experience with knowledge of Data structures and algorithms and I can do your work as soon as possible. Can we discussed more on this project on Lagi

$30 USD dalam sehari
(5 Ulasan)
2.3
Mhammadawan

Hi, I am a software engineer with 3 years of experience in java. I understand your project about this game. I will deliver you project with 100% quality. please give me chance to prove myself. let me know if you are in Lagi

$35 USD dalam 3 hari
(4 Ulasan)
2.2
varad6641

I have that knowledge to pursuive job

$25 USD dalam sehari
(0 Ulasan)
0.0