LLD - Design — Tic-Tac-Toe Game
Identify the error in this model-view separation code:
class Model { int health = 100; void damage(int d) { health -= d; } } class View { void show() { print("Health: " + health); } }