Creating the user interface

As previously mentioned, the user interface is the means by which the user of an application interacts with the app. It cannot be overstated how important the user interface of an application is. Before embarking on the process of actually coding a user interface, it may be helpful to make a graphical representation of the UI to be implemented. This can be done with different tools, such as Photoshop, but for this case, a simple sketch is sufficient:

From the preceding sketch, we can see that we will need two distinct screens in this application: the landing screen and the game screen where the actual gameplay will ...

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.