Skip to content

xslau/Observer-Strategy-Design-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Observer-Strategy-Design-Pattern

Coded by Xzavian Slaughter

DESCRIPTION


The purpose of this package is to demonstrate the comprehension of Java Inheritance and teh usage of abstrat classes, as well as ArrayList interaction thorugh the medium of creating an abstract class Subject with values such as strokes and par that is monitored by classes built with functioning array lists to represent an Observer Strategy Design Pattern.



OUTPUT


***** Georgy is staring his round *****

Current Hole Stats: Par: 3 Strokes: 5 2 over par

Round Stats: Par: 3 Strokes: 5 2 over par

Current Hole Stats: Par: 2 Strokes: 2 Made par

Round Stats: Par: 5 Strokes: 7 2 over par

Current Hole Stats: Par: 3 Strokes: 1 2 under par

Round Stats: Par: 8 Strokes: 8 Making par

Current Hole Stats: Par: 3 Strokes: 3 Made par

Round Stats: Par: 11 Strokes: 11 Making par

Current Hole Stats: Par: 2 Strokes: 3 1 over par

Round Stats: Par: 13 Strokes: 14 1 over par



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages