So far, we have gone through some important basics of programming in Lua and applied some code to run in the Corona simulator. Knowing the terminology is a small part of learning how to create an application. We'll need to take a step further and get some hands-on experience of what it's like to structure a project from start to finish. We're going to accomplish this by creating our first game from scratch. This will push you further to understand larger chunks of code and apply some game logic to create a functional game.
By the end of this chapter, you will understand:
How to structure game files in a Corona project
How to create variables for the game
How to add game objects to the screen
How to create an alert message
How to display the score and level number
Let the fun begin!