{"id":21481083,"url":"https://github.com/tangerinearc/scorchingsprint","last_synced_at":"2025-07-14T15:07:07.301Z","repository":{"id":245294270,"uuid":"817821668","full_name":"tangerineArc/ScorchingSprint","owner":"tangerineArc","description":"a browser-based run-till-death web-game ","archived":false,"fork":false,"pushed_at":"2024-07-06T07:59:06.000Z","size":19104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T18:48:51.170Z","etag":null,"topics":["browser-game","endless-runner","game","web-game"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tangerineArc.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":"2024-06-20T14:05:41.000Z","updated_at":"2024-11-15T10:45:04.000Z","dependencies_parsed_at":"2024-06-21T07:24:44.857Z","dependency_job_id":"99f6b68f-1bba-498b-83a2-28a9e5741e06","html_url":"https://github.com/tangerineArc/ScorchingSprint","commit_stats":null,"previous_names":["tangerinearc/scorchingsprint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangerineArc%2FScorchingSprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangerineArc%2FScorchingSprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangerineArc%2FScorchingSprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangerineArc%2FScorchingSprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangerineArc","download_url":"https://codeload.github.com/tangerineArc/ScorchingSprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006398,"owners_count":20382443,"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":["browser-game","endless-runner","game","web-game"],"created_at":"2024-11-23T12:20:36.132Z","updated_at":"2025-03-17T09:13:13.174Z","avatar_url":"https://github.com/tangerineArc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scorching Sprint\n\n**Scorching Sprint** is a web application/game which is inspired by the classic Chrome Dino game, but has a lot more features.\nUsers have to create an account and sign in to play the game. Their gameplay data is stored and the highest score is used to rank the players in a global leaderboard.\n\nThis project was done by **Swagatam Pati** for the **[2024 Harvard CS50x](https://cs50.harvard.edu/x/2024/)** online course: **Introduction to the Intellectual Enterprises of Computer Science \u0026 the Art of Programming**.\n\n### Video Demonstration: https://youtu.be/7ydAh8Amdgw\n\n## Technological Design Choices\n\nHere is a list of the various technologies I used in this project:\n\n### Flask\nThe backend of the application is implemented using Flask. Python Flask is a lightweight and powerful web framework. It stands out for its simplicity, flexibility, and fine-grained control over its components, making it an ideal choice for my project.\n\n### Jinja\nJinja is the templating engine that I used for my project. Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the final document.\n\n### SQLite \u0026 SQLAlchemy\nSQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. The ORM used is CS50's implementation of SQLAlchemy which made it possible to work with Python's own objects instead of writing separate SQL queries.\n\n### Bootstrap\nBootstrap is a CSS framework directed at responsive front-end web development. It contains HTML, CSS and JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components.\n\n## Filesystem Explanation\n\nBelow is a list of all the folders and files that the project contains:\n- `app.py` - The main file where the Flask routes are created, also containing route handlers for API endpoints.\n- `arc.db` - The database storing the users' data.\n- `/templates` - Contains HTML webpages of the application.\n  - `apology.html` - Error page on form submission while logging in or registering for a new user.\n  - `fame.html` - Global Leaderboard showing the top 10 players ranked according to their highest scores.\n  - `game.html` - The primary page that contains the actual Scorching Sprint game.\n  - `index.html` - Homepage of the application.\n  - `layout.html` - Boilerplate used for the other webpages.\n  - `login.html` - Displays login form.\n  - `register.html` - Displays new user registration form.\n  - `stats.html` - Shows the player title, highest score and five recent game scores of the current user.\n- `/static` - Contains graphics and music used in the game. Also contains the stylesheets (`.css`) and script files (`.js`) powering the application.\n  - `/graphics` - Contains the game artwork files.\n    - `cloud{1..4}.png`\n    - `dinoOnFire.gif`\n    - `dragon.gif`\n    - `gameBG.jpg`\n    - `ground.png`\n    - `homeBG.jpeg`\n    - `horizontalFire.gif`\n    - `runningDino.gif`\n    - `standingDino.gif`\n    - `verticalFire.gif`\n  - `/sounds` - Contains game music files.\n    - `chase.mp3`\n    - `dragonCastle.mp3`\n  - `/stylesheets` - Contains CSS stylesheets.\n    - `apologyStyles.css` - Stylesheet for `apology.html` page.\n    - `fameStyles.css` - Stylesheet for `fame.html` page.\n    - `formStyles.css` - Stylesheet for `login.html` and `register.html` pages.\n    - `gameStyles.css` - Stylesheet for `game.html` page.\n    - `indexStyles.css` - Stylesheet for `index.html` page.\n    - `statsStyles.css` - Stylesheet for `stats.html` page.\n  - `/scripts` - Contains frontend JS scripts.\n    - `coloringScript.js` - Script to get colored usernames on all pages. Used in `layout.html` page.\n    - `formValidationScript.js` - Script (from Bootstrap) for frontend validation of forms. Used in `login.html` and `register.html` pages.\n    - `gameScript.js` - Primary script powering the actual game. Used in `game.html` page.\n\n## Artwork \u0026 Music Credits\n\n#### `/static/graphics/runningDino.gif`\n\u003e **Dino-4-Run** | https://dribbble.com/shots/4146682-Dino-4-Run  \n\u003e Artwork by **Gustavo Zanzero** | https://dribbble.com/zgus\n\n#### `/static/graphics/dragon.gif`\n\u003e **First animation: dragon flight** | https://www.deviantart.com/allmannerofbeasties/art/First-animation-dragon-flight-521575008  \n\u003e Artwork by **AllMannerOfBeasties** | https://www.deviantart.com/allmannerofbeasties\n\n#### `/static/graphics/gameBG.jpg` and `/static/graphics/homeBG.jpeg`\n\u003e From **Firewatch** | https://www.firewatchgame.com\n\n#### `/static/sounds/chase.mp3`\n\u003e **Chase** by **Alexander Nakarada** | https://creatorchords.com  \n\u003e Music promoted by https://www.chosic.com/free-music/all  \n\u003e Attribution 4.0 International (CC BY 4.0)  \n\u003e https://creativecommons.org/licenses/by/4.0\n\n#### `/static/sounds/dragonCastle.mp3`\n\u003e **Dragon Castle** by **Makai Symphony** | https://soundcloud.com/makai-symphony  \n\u003e Music promoted by https://www.chosic.com/free-music/all  \n\u003e Creative Commons CC BY-SA 3.0  \n\u003e https://creativecommons.org/licenses/by-sa/3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangerinearc%2Fscorchingsprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangerinearc%2Fscorchingsprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangerinearc%2Fscorchingsprint/lists"}