Tracks
/
Lua
Lua
/
Exercises
/
High Scores
High Scores

High Scores

Medium

Instructions

Manage a game player's High Score list.

Your task is to build a high-score component of the classic Frogger game, one of the highest selling and most addictive games of all time, and a classic of the arcade era. Your task is to write methods that return the highest score from the list, the last added score and the three highest scores.

Further reading

You can read more about OO programming in Lua in this article.


Source

Tribute to the eighties' arcade game Frogger
Edit via GitHub The link opens in a new window or tab
Lua Exercism

Ready to start High Scores?

Sign up to Exercism to learn and master Lua with 3 concepts, 114 exercises, and real human mentoring, all for free.