File tree 2 files changed +29
-8
lines changed
exercises/practice/high-scores
2 files changed +29
-8
lines changed Original file line number Diff line number Diff line change 115
115
"prerequisites" : [],
116
116
"difficulty" : 2
117
117
},
118
- {
119
- "slug" : " high-scores" ,
120
- "name" : " High Scores" ,
121
- "uuid" : " 7a7f05bd-16d1-4103-90c7-f3c8f7a08af0" ,
122
- "practices" : [],
123
- "prerequisites" : [],
124
- "difficulty" : 3
125
- },
126
118
{
127
119
"slug" : " house" ,
128
120
"name" : " House" ,
162
154
" searching"
163
155
]
164
156
},
157
+ {
158
+ "slug" : " high-scores" ,
159
+ "name" : " High Scores" ,
160
+ "uuid" : " 7a7f05bd-16d1-4103-90c7-f3c8f7a08af0" ,
161
+ "practices" : [],
162
+ "prerequisites" : [],
163
+ "difficulty" : 4
164
+ },
165
165
{
166
166
"slug" : " darts" ,
167
167
"name" : " Darts" ,
Original file line number Diff line number Diff line change
1
+ local HighScores = {}
2
+
3
+ function HighScores :scores ()
4
+
5
+ end
6
+
7
+ function HighScores :latest ()
8
+
9
+ end
10
+
11
+ function HighScores :personal_best ()
12
+
13
+ end
14
+
15
+ function HighScores :personal_top_three ()
16
+
17
+ end
18
+
1
19
return function (scores )
20
+ local high_scores = {}
21
+ setmetatable (high_scores , { __index = HighScores })
22
+ return high_scores
2
23
end
You can’t perform that action at this time.
0 commit comments