https://github.com/melsener/tokenfairy
Homework Assignment of Introduction to Object Oriented Programming Languages and System
https://github.com/melsener/tokenfairy
abstract-factory-pattern decorator-pattern design-patterns homework-assignments object-oriented-programming simulation state-pattern
Last synced: about 1 month ago
JSON representation
Homework Assignment of Introduction to Object Oriented Programming Languages and System
- Host: GitHub
- URL: https://github.com/melsener/tokenfairy
- Owner: melsener
- Created: 2017-07-07T06:58:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T07:15:23.000Z (over 8 years ago)
- Last Synced: 2026-03-01T16:39:46.598Z (about 1 month ago)
- Topics: abstract-factory-pattern, decorator-pattern, design-patterns, homework-assignments, object-oriented-programming, simulation, state-pattern
- Language: Java
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tokenFairy
Homework Assignment of Introduction to Object Oriented Programming Languages and System
For this assignment, I've used 3 different design patterns.
1. Abstract Factory Pattern
2. State Pattern
3. Decorator Pattern
###### Abstract Factory Pattern
This pattern is used for creating different kinds of Token objects. In application, Token Fairy holds an array of different
kind of Factories for token generation.
###### State Pattern
Students may have different kind of states and their behavior changes according to their states.
###### Decorator Pattern
This pattern does not fit here well but we're expected to use it. This pattern is used for adding extra items on the animation.
Alt-How To Run?
======
```
javac *.java
java DreamRunner
```