Kotlin and Android Development featuring Jetpack: Other AI implementations missing (version B4.0 page 117)

Hi,

on page 117 you only define the implementation for “Fearful Fred”.
To start the app the implementation for all AI’s should be added or the AI constructor argument rollAgain should have a default value.

Keno

Hey Keno,
This was actually be design to avoid having too much extra code in here. I’ve added a note to reference the source code you can get from the book’s page to see how they all work.

I worry if we put them all in there, it’ll be tough to follow what each piece of the AI player logic is doing.

Thanks!
Michael