Em Andamento

cards

*assignment

*Make a Java program to keep track of one row of cards that the user has to put in a correct

order. Each card has a value and a description of the order constraints. There are four sorts of

cards with their corresponding constraints on the order: "must be smaller than previous",

"must be larger than previous", "must be smaller than next", "must be larger than next".

The *user interface* should be able to show at least two consecutive cards - a complete list of

all cards is a nice extension. The minimal user actions are:

? Go to the next card.

? Go to the previous card.

? Swap two consecutive cards.

? Check whether the order constraints of all cards are satisfied.

You may extend this functionality, but you should concentrate on these actions first.

*materials*

? VisualCafé

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) directions

The program need not do any ordering itself. It just supports the user actions.

? The total number of cards is not specified. You may choose the number of cards of eachsort.

However, it should be easy to change the code in this respect, afterwards.

The four sorts of cards correspond to four different subclasses of a common superclass.

Define as much functionality as possible in the common superclass.

Each sort of cards - including the superclass - has its own implementation of a method to

check the constraints on the order. Use the same name and parameters in all five classes.

Cards need not keep track of the previous and next card - that would be too difficult.

Instead the check method of a card can receive the previous and next card as parameters.

The engine should contain an array of cards (superclass). The actual elements of this array

may be of any of the four subclasses. After the card objects have been created, the engine

need not know the actual class of any card - it is enough to know that it is just some card.

The engine is responsible for filling the row of cards with instances of the four subclasses.

The initial order of the row is not very important.

It should be impossible to move off either end of the row of cards.

## Platform

Windows 98

Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: sort array list in java, sort array c, first class objects in java, elements actions, define user interface, name cards, swap sort, cards program, java larger, php swap, need java assignment done, php card engine, list java array, easy materials php, assignment implementation, materials assignment, cards program java, java interface implementation, row implementation, php java check form, php class implementation, make java larger, java program array, array easy php, array cards php

Acerca do Empregador:
( 3 comentários ) Germany

ID do Projeto: #3014200

Premiar a:

senzaciosnegyes

See private message.

$42.5 USD em 6 dias
(104 Avaliações)
4.9

10 freelancers estão ofertando em média $42 para este trabalho

mihaiscortaru

See private message.

$80.75 USD in 6 dias
(160 Comentários)
6.0
emilianbold

See private message.

$17 USD in 6 dias
(80 Comentários)
5.9
mkoutsourcing

See private message.

$51 USD in 6 dias
(43 Comentários)
5.9
lmxvw

See private message.

$28.9 USD in 6 dias
(126 Comentários)
4.7
absolutredbull

See private message.

$68 USD in 6 dias
(56 Comentários)
3.9
jonbk

See private message.

$8.5 USD in 6 dias
(6 Comentários)
2.3
seanmcox

See private message.

$42.5 USD in 6 dias
(2 Comentários)
1.6
thanasisk

See private message.

$34 USD in 6 dias
(5 Comentários)
0.9
gmarkvw

See private message.

$42.5 USD in 6 dias
(0 Comentários)
0.0