{"id":20367510,"url":"https://github.com/regb/scalavator","last_synced_at":"2025-04-12T05:28:02.823Z","repository":{"id":145158159,"uuid":"116533401","full_name":"regb/scalavator","owner":"regb","description":"The unofficial Scala game","archived":false,"fork":false,"pushed_at":"2020-10-26T09:06:59.000Z","size":493,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T00:51:19.436Z","etag":null,"topics":["game","game-2d","game-development","gamedev","scala","scala-native","scalajs"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/regb.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-07T03:13:41.000Z","updated_at":"2023-03-31T21:00:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"f96b176d-1616-4c2d-a26a-800a72487cbc","html_url":"https://github.com/regb/scalavator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regb%2Fscalavator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regb%2Fscalavator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regb%2Fscalavator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regb%2Fscalavator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regb","download_url":"https://codeload.github.com/regb/scalavator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248521675,"owners_count":21118131,"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":["game","game-2d","game-development","gamedev","scala","scala-native","scalajs"],"created_at":"2024-11-15T00:32:39.408Z","updated_at":"2025-04-12T05:28:02.812Z","avatar_url":"https://github.com/regb.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scalavator\n\nScalavator is the unofficial Scala game. It is a cross-platform, open-source,\narcade game where you must jump from platform to platform to reach higher and\nhigher (scores).\n\nScalavator is inspired by the classic [Doodle\nJump](https://wikipedia.org/wiki/Doodle_Jump), but its mecanisms have been\nadapted to be enjoyable to play in non-mobile platforms such as the web or the\ndesktop. It kept the simplicity of the controls in order to be fully playable\non mobile as well.\n\nScalavator was started as a way to demonstrate how to use [the Scala Game\nLibrary (SGL)](https://github.com/regb/scala-game-library), a cross-platform\ngame engine for the Scala programming language. It is fully open source and its\ncode is under the MIT license. The goal was to show a small, but complete game\nimplemented with SGL and taking advantage of the cross-platform features of the\nlibrary.\n\nThe current implementation supports three platforms: Android, HTML5, and\nDesktop JVM. The core game logic is under the [core](/core) directory tree. The\nplatform-specific implementations consist of very simple sub-projects (under\n[android](/android), [html5](/html5), and [desktop](/desktop), respectively),\nwith only a single file to define the correct dependencies. For example, here\nis the only required [Android\ncode](/android/src/main/scala/MainActivity.scala), just a couple lines of code.\n\nScalavator is available to [try\nonline](http://regblanc.com/games/scalavator/play.html) from your browser, or\nto download for your Android device on [Google\nPlay](https://play.google.com/store/apps/details?id=com.regblanc.scalavator).\nI invite you to try both and spot the differences.\n\nYou can also build and run Scalavator yourself, just run the following command:\n    \n    sbt desktop/run\n\nIt should start the Desktop JVM version of Scalavator. You can also build\nan Android APK (after installing the Android dependencies) with `sbt\nandroid/android:packageDebug` and a javascript build (after installing\nscala.js dependencies) with `sbt html5/fastOptJS`.\n\nNot that anyone would ever need them, but just in case, all the art assets that\nI provided for the game are released in the public domain. Some assets on this\nrepository might come from a third-party source and are thus only reusable from\ntheir oiginal source (usually, under a creative common license).\n\nThe game is not quite finished yet. The goal is to evolve along with the\ndevelopment of SGL. The game will be ported to as many platforms as possible,\nmost notably to iOS, and as an executable for Windows, OSx, and Linux. I also\nplan to add support for Leaderboards, achievements, and analytics, and show how\nthese can be integrated over all these platforms in a shared Scala code base.\nGraphics are what they are --- programmer art.. I don't plan to spend much\nmore time on them, but if you are of the artistic kind, I will appreciate\nany contribution.\n\nIf you are interested in trying out SGL, this repository is a good starting\npoint with a working project. You can then modify the core game logic to go\ninto any direction you wish. If you do build a game with SGL, please reach out\nto [the SGL project](https://github.com/regb/scala-game-library), or get in\ntouch directly with [me](http://regblanc.com/contact/).\n\n## Credits\n\n* Author, designer, programmer: [Régis Blanc](http://regblanc.com)\n* [Ce-gars-là](https://twitter.com/manojah_shanti/status/781884092111548416),\n  original concept from [Manohar Jonnalagedda](https://twitter.com/manojah_shanti) and [Nicolas Stucki](https://twitter.com/stucki_nicolas).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregb%2Fscalavator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregb%2Fscalavator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregb%2Fscalavator/lists"}