October 2021
Intermediate to advanced
500 pages
16h 23m
English
In programming, textual data is represented by strings – ordered sequences of characters. You have already used Kotlin’s strings for the messages you print when bounty-board is run, like this one:
"The hero announces her presence to the world."
In this chapter, you will see more of what strings can do. In the process, you will upgrade bounty-board with better string formatting. You will also update the program so the player’s level is read from user input through the console, instead of being hardcoded into the program.
Read now
Unlock full access