{"id":140,"date":"2010-09-21T18:32:08","date_gmt":"2010-09-22T01:32:08","guid":{"rendered":"http:\/\/blogs.unsw.edu.au\/comp1400\/?p=140"},"modified":"2010-09-21T18:49:30","modified_gmt":"2010-09-22T01:49:30","slug":"ass-3-high-score-list","status":"publish","type":"post","link":"https:\/\/blogs.unsw.edu.au\/comp1400\/blog\/2010\/09\/ass-3-high-score-list\/","title":{"rendered":"Ass 3 &#8211; High score list"},"content":{"rendered":"<p>Your final assignment is to implement a high score list for a very simple game. The game itself is just a place holder that randomly generates scores. Your job is to keep a list of high-scores and allow the player to page through them.<\/p>\n<h2>Requirements<\/h2>\n<ul>\n<li>Have a &#8220;play&#8221; button which starts the game.<\/li>\n<li>While the game is playing, hide the GUI.<\/li>\n<li>When the game is over, display the latest score and the high-scores in descending order, five per page.<\/li>\n<li>Provide &#8220;Previous&#8221; and &#8220;Next&#8221; buttons to allow the player to page through the scores.  Don&#8217;t page beyond the end of the list.<\/li>\n<li><strong>Optional Bonus:<\/strong> for an extra 10%, prompt the player for a name when the game is over, and show both names and scores in the list.<\/li>\n<\/ul>\n<p>There is a <a href=\"http:\/\/www.cse.unsw.edu.au\/~cs1400\/ass\/ass3\/HighScores.html\">demo app<\/a> here. Feel free to make your version prettier if you want, but you must implement all the functionality of this demo.<br \/>\n<!--more--><\/p>\n<h2>Competencies<\/h2>\n<p>The aim of this assignment is to demonstrate your ability to:<\/p>\n<ul>\n<li>Use arrays or lists to keep track of multiple pieces of data.<\/li>\n<li>Use the GUI to display text and button controls.<\/li>\n<li>Use strings to create formatted text for display.<\/li>\n<\/ul>\n<h2>Files<\/h2>\n<p>You will need to download the following script files:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.cse.unsw.edu.au\/~cs1400\/ass\/ass3\/Game.js\">Game.js<\/a> &#8211; the &#8216;game&#8217;, a simple score-generator. <strong>Do not modify<\/strong> this script<\/li>\n<li><a href=\"http:\/\/www.cse.unsw.edu.au\/~cs1400\/ass\/ass3\/ScoreKeeper.js\">ScoreKeeper.js<\/a> &#8211; the scorekeeper. You must complete this script.<\/li>\n<\/ul>\n<h2>Teams<\/h2>\n<p>For this assignment you have the option of working in pairs or alone. You will need to inform your tutor of your team in the Week 10 lab.<\/p>\n<h2>Deliverables<\/h2>\n<p>There are two components you will need to submit:<\/p>\n<ol>\n<li>The completed ScoreKeeper.js script.<\/li>\n<li>A web version of your game.<\/li>\n<\/ol>\n<p>There is no storyboard requirement for this assignment.<\/p>\n<h2>Marking<\/h2>\n<p>Your marks will be based on your design and your code, not on the scene itself. So don&#8217;t overdo the time much time you spend making it pretty. Marks will be assigned as follows:<\/p>\n<ul>\n<li>Code style: 50%<\/li>\n<li>Correctness: 50% (with possible 10% bonus)<\/li>\n<ul>\n<li>Keeping a list of high scores: 20%<\/li>\n<li>Sorting the list in descending order: 15%<\/li>\n<li>Paging through the scores: 15%<\/li>\n<li>Having names attached to scores: 10% bonus<\/li>\n<\/ul>\n<\/ul>\n<p>This assignment is worth 10% of your final mark.<\/p>\n<h2>Submission<\/h2>\n<p>The assignment is due at the end of week 12 (Sunday Oct 17).<\/p>\n<p>Submission instructions will follow. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your final assignment is to implement a high score list for a very simple game. The game itself is just a place holder that randomly generates scores. Your job is to keep a list of high-scores and allow the player to page through them. Requirements Have a &#8220;play&#8221; button which starts the game. While the [&hellip;]<\/p>\n","protected":false},"author":80,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[468],"tags":[4593],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-assignments","tag-ass3"],"_links":{"self":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":7,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":147,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/140\/revisions\/147"}],"wp:attachment":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}