For hobby I'm making a game. The game has a monster chasing the human (Pacman-like). When the Pacman is stuck, can eat the human or does some move; an event should be raised. This is because my program became not-oop because all the objects had to know eachother what did the cohesion no good.
There is a control like object (called Game) which should respond to the event; human-moved, monster-moved, human-eaten, monster-stuck and eventually let the view know something happened so it repaints. Whats also the point, that the view responds to the keypresses of the actor and that those events should reach the human in some way (also with an event).
Can someone help me with how I can best solve this issue? I've searched the internet for likewise problems but didn't came across one.
In MVC: does the controller know the view? If so: does the whole program begins with the controller or with the view? (what makes who)