-
Notifications
You must be signed in to change notification settings - Fork 1
Program Design & Algorithms
YeshwiniR edited this page Jul 5, 2020
·
12 revisions
Algorithms Used
- Atomic Boolean is used for flagging to terminate the threads.
- ExecutorService is used for multithreading
- We used JFrame and JFreeChart to create a graph to display the GUI results for the game
- Synchronization is implemented when adding data to the lines arrayList.
- Future and Callable are implemented for the Timer thread.
Program design
Activity Diagram
State Diagram
Timer class
Point class
Class Diagram
Flowchart