Typo found in PennyDropDatabase.getDatabase() on page 125: “Instance?” should be “instance?”
What’s there:
scope.launch {
-> Instance?.pennyDropDao()?.insertPlayers(
AI.basicAI.map(AI::toPlayer)
)
}
What should be there:
scope.launch {
-> instance?.pennyDropDao()?.insertPlayers(
AI.basicAI.map(AI::toPlayer)
)
}
The code in the .zip file is correct.