Find Jobs
Hire Freelancers

Build a small program

$30-250 USD

Доручено
Опублікований over 8 years ago

$30-250 USD

Оплачується при отриманні
he objective of this lab assignment is for you to think about the design decisions that go into defining a class. Assignment: Imagine that you want to make a memory game. You generate two of each kind of tile and then mix them up and lay them out face down. The player flips one over and then another over. If they match, the tiles are removed. If not, they are turned over again and the player flips over two more tiles. Your objective today is not to implement this memory game. It is instead to define the Tile class that will be used in this memory game. As a starting point, you should write down (on paper) the different states the tile can be in and what is associated with each state. You should also write down what behaviors a tile should have. After you have thought about the characteristics and behavior of the tile, you should then take that list and start defining the class by defining what data members, what constructor(s) and what methods it should have. Again, you should do this on paper. Once you have come up with a draft of the class, you should enter it into Eclipse. Where in previous labs you were implementing methods that had been specified, now it is your job to write the specifications for each constructor and method. Be sure to do so using javadoc comments. Only after you have designed the class should you start implementing constructors and methods. Be sure to create a driver class that instantiates one or more instances and then has methods to test each method you have implemented. As you implement the methods, you may realize that you need to add methods or make changes. You may decide that it is more efficient to have data members to hold information than to provide a method that recreates something every time it is invoked. These are precisely the things you should be considering as you make design decisions.
ID проекту: 8651441

Про проект

2 пропозицій(-ї)
Дистанційний проект
Активність 9 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
2 фрілансерів(-и) готові виконати цю роботу у середньому за $45 USD
Аватарка користувача
A proposal has not yet been provided
$35 USD за 3 дні(-в)
4,9 (39 відгуки(-ів))
5,5
5,5
Аватарка користувача
A proposal has not yet been provided
$55 USD за 3 дні(-в)
5,0 (1 відгук)
0,6
0,6

Про клієнта

Прапор UNITED STATES
United States
0,0
0
На сайті з жовт. 9, 2015

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.