{"id":13744427,"url":"https://github.com/gamecook/FScoreboard","last_synced_at":"2025-05-09T03:31:41.345Z","repository":{"id":137627401,"uuid":"985776","full_name":"gamecook/FScoreboard","owner":"gamecook","description":"A Flash SharedObject Scoreboard for locally storing game high scores on web \u0026 mobile.","archived":false,"fork":false,"pushed_at":"2011-02-24T12:34:01.000Z","size":3143,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-04T05:04:12.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gamecook.png","metadata":{"files":{"readme":"ReadMe.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-14T02:05:23.000Z","updated_at":"2014-09-14T19:15:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cabf67d-2988-49dd-a2e6-98d7e91b76dd","html_url":"https://github.com/gamecook/FScoreboard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamecook%2FFScoreboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamecook%2FFScoreboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamecook%2FFScoreboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamecook%2FFScoreboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamecook","download_url":"https://codeload.github.com/gamecook/FScoreboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224810993,"owners_count":17373898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:09.295Z","updated_at":"2024-11-15T16:30:54.211Z","avatar_url":"https://github.com/gamecook.png","language":"ActionScript","readme":"Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nF*Scoreboard\nAuthors: Sean McCracken (@Seantron) \u0026 Jesse Freeman (@CodeBum)\n\nF*Scoreboard is a simple class to help maintain persistent local scoreboard in your Flash games. The FScoreboard class\nwraps a SharedObject and allows you to save and retrieve score objects from it. This allows you to manage scores without\nthe need of connecting to a database or 3d party api. This is especially helpful when it comes to Mobile Flash games.\n\nHere are some examples of how to use the class:\n\n:: Create A New Scoreboard ::\n\nscoreBoard = new FScoreboard(\"TestScoreboard\", 10);\n\n\n:: Add Some Default Scores ::\n\nscoreBoard = new FScoreboard(\"TestScoreboard\", 10);\n\nif(scoreBoard.total == 0)\n{\n    var defaultScores:Array = [\n                {playerName:\"PlayerA\", score: 300},\n                {playerName:\"PlayerB\", score: 200},\n                {playerName:\"PlayerC\", score: 100},\n                {playerName:\"PlayerD\", score: 10}];\n\n    scoreBoard.scores = defaultScores;\n\n}\n\n:: Add New Score ::\n\nscoreBoard.addScore({score:100});\n\n\n:: Display Scores ::\n\nvar total:int = scoreBoard.length;\nvar i:int;\n\nfor( i = 0; i \u003c total; i ++)\n{\n    trace(scoreboard.getScore(i).score);\n}\n","funding_links":[],"categories":["Video Games"],"sub_categories":["Game Engine"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamecook%2FFScoreboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamecook%2FFScoreboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamecook%2FFScoreboard/lists"}