- Notifications
You must be signed in to change notification settings - Fork345
Open
Description
I have a question aboutthis Battleship code in Chapter 8. We have the model, view, controller objects; however, some functions, like helper functionparseGuess()
and handler functions, likehandleKeyPress
are not a part of the objects.
For example, why couldn't we make theparseGuess()
function a method of controller object? And isinit
function always a stand-alone function because it needs to start everything?
Thank you so much!
Metadata
Metadata
Assignees
Labels
No labels