On Abstraction: Making Recyclable Programs
On Abstraction: Making Recyclable Programs
On Abstraction: Making Recyclable Programs
Control,
Data
UI
Algorithms
Source:
Wikipedia
The restaurants client orders food
Human Computer
---------------------- ----------------------------------------------
- MoveEvaluation getMoveInternal(Player, TicTacToeBoard)
+ Player getOtherPlayer(Player)
+
MoveEvaluation
----------------------
+ Position bestPos
+ Player winner_when_minimize_opponent
UML
TicTacToeGame
-----------------------------------
- Participant player1
- Participant player 2
- TicTacToeBoard board
Human Computer
---------------------- ----------------------------------------------