Skip to content

Commit

Permalink
Improve high scores experience
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanplusplus committed Sep 7, 2024
1 parent ad16036 commit 1486147
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,6 @@
"prerequisites": [],
"difficulty": 2
},
{
"slug": "high-scores",
"name": "High Scores",
"uuid": "7a7f05bd-16d1-4103-90c7-f3c8f7a08af0",
"practices": [],
"prerequisites": [],
"difficulty": 3
},
{
"slug": "house",
"name": "House",
Expand Down Expand Up @@ -162,6 +154,14 @@
"searching"
]
},
{
"slug": "high-scores",
"name": "High Scores",
"uuid": "7a7f05bd-16d1-4103-90c7-f3c8f7a08af0",
"practices": [],
"prerequisites": [],
"difficulty": 4
},
{
"slug": "darts",
"name": "Darts",
Expand Down
21 changes: 21 additions & 0 deletions exercises/practice/high-scores/high-scores.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
local HighScores = {}

function HighScores:scores()

end

function HighScores:latest()

end

function HighScores:personal_best()

end

function HighScores:personal_top_three()

end

return function(scores)
local high_scores = {}
setmetatable(high_scores, { __index = HighScores })
return high_scores
end

0 comments on commit 1486147

Please sign in to comment.