Wrapping Up
We’ve made good progress so far. We modeled the most important building blocks of the game. We can see how coordinates compose into islands and boards.
Our domain is simpler because of the approach we’ve taken. Our domain entities live single lives in our application instead of double lives in both the application and the database. Application behavior comes from simple functions that transform data. There’s not an ORM in sight.
While we are in a good position, the code we currently have allows any action to happen at any time. There’s no sense of sequence to the events. There’s nothing to prevent us from guessing coordinates before we position any islands.
Before the code we now have can become a real game, we’ll need to define and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access