Object Oriented Programming with JAVA - Blackjack Game Implementation
Added on 2023-04-23
9 Pages1482 Words141 Views
|
|
|
University *****
Semester
Object Oriented Programming with JAVA
Student Name:
Student ID:
Submission Date:
Semester
Object Oriented Programming with JAVA
Student Name:
Student ID:
Submission Date:
Table of Contents
Task 1................................................................................................................................................1
Task 2................................................................................................................................................2
Task 3................................................................................................................................................3
Task 4................................................................................................................................................4
References.........................................................................................................................................6
Task 1................................................................................................................................................1
Task 2................................................................................................................................................2
Task 3................................................................................................................................................3
Task 4................................................................................................................................................4
References.........................................................................................................................................6
Task 1
In this task, the UML class diagram will be modified to incorporate and adapt the
Observer Pattern, and implement the relationship needs to allow it to work. The UML Class
diagram is represented in the below diagram ("An Instrument Is Only As Good As Its Player"
2012).
The previously used Observer Patterns’ classes are, card(), Hand(), Deck(), Dealer(), player(),
table(), standard player(), and Trend player().
The required properties and methods for the Observe Pattern are- gameview (), playerview(),
strategy (), profile(), Loginview (), profile(), and basepalyer(), which can be added on the
extra class and methods on the observer patterns.
1
In this task, the UML class diagram will be modified to incorporate and adapt the
Observer Pattern, and implement the relationship needs to allow it to work. The UML Class
diagram is represented in the below diagram ("An Instrument Is Only As Good As Its Player"
2012).
The previously used Observer Patterns’ classes are, card(), Hand(), Deck(), Dealer(), player(),
table(), standard player(), and Trend player().
The required properties and methods for the Observe Pattern are- gameview (), playerview(),
strategy (), profile(), Loginview (), profile(), and basepalyer(), which can be added on the
extra class and methods on the observer patterns.
1
End of preview
Want to access all the pages? Upload your documents or become a member.