This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7910496-programming-in-kotlin-fundamentals/lessons/31
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7910496-programming-in-kotlin-fundamentals/lessons/31
1 Like
I think that printing every game title from the list that is contained in a map would be a nice challenge task as well.
Referencing to this block of code will display list of the games in certain genre.
for ((genre,games) in videoGamesCollection){
println(“Video games in the $genre genre you own are: $games”)
}
Let’s say we want to display each game title from the genre. Played with it and it’s not hard, but it might be a nice additional challenge for those with less programming experience.
Hey @dinobudic!
That’s a really cool suggestion! Once we update the course, we can add it as another challenge to solve!
Thanks!