Skip to content
Snippets Groups Projects
Commit a2bbd8b7 authored by Matt Bovel's avatar Matt Bovel
Browse files

Fix typo

parent 7a67b433
No related branches found
No related tags found
No related merge requests found
...@@ -25,13 +25,13 @@ In this exercise, your task is to implement a leaderboard webpage for a GitLab-b ...@@ -25,13 +25,13 @@ In this exercise, your task is to implement a leaderboard webpage for a GitLab-b
This exercise uses the Play framework, a popular web application framework. This exercise uses the Play framework, a popular web application framework.
Play is entirely asynchronous and uses futures for concurrency. Play is entirely asynchronous and uses futures for concurrency.
In `src/main/scala/f1/MyComponents.scala`, we define a minimal Play application to display the leaderboard (you do not need to modify this file). In `src/main/scala/concpar21final01/MyComponents.scala`, we define a minimal Play application to display the leaderboard (you do not need to modify this file).
You can start this application using `sbt run` and open the leaderboard in a web browser at [http://localhost:9000/](http://localhost:9000/). After having completed this exercise, you should see a populated leaderboard as shown in this screenshot: You can start this application using `sbt run` and open the leaderboard in a web browser at [http://localhost:9000/](http://localhost:9000/). After having completed this exercise, you should see a populated leaderboard as shown in this screenshot:
![leaderboard.png](leaderboard.png "leaderboard.png") ![leaderboard.png](leaderboard.png "leaderboard.png")
In this exercise, your task is to implement the `leaderboard()` method in `src/main/scala/f1/F1.scala` which asynchronously retrieves and sorts student grades. In this exercise, your task is to implement the `leaderboard()` method in `src/main/scala/concpar21final01/Problem1.scala` which asynchronously retrieves and sorts student grades.
Grades should be sorted such that maximum grades appear at the head of the list, like in the screenshot above. Grades should be sorted such that maximum grades appear at the head of the list, like in the screenshot above.
Your implementation should use the following two methods to get the list of students and the grade of a particular student: Your implementation should use the following two methods to get the list of students and the grade of a particular student:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment