{"id":22004442,"url":"https://github.com/lucasctnh/sub-treasure-hunter","last_synced_at":"2025-12-30T23:38:10.710Z","repository":{"id":106225121,"uuid":"326096215","full_name":"lucasctnh/sub-treasure-hunter","owner":"lucasctnh","description":"🦈 A simple \"get the treasure\" game I made for fun.","archived":false,"fork":false,"pushed_at":"2023-09-01T00:17:43.000Z","size":360,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T12:45:59.969Z","etag":null,"topics":["javascript","learning-by-doing","nodejs","phaser3","webpack"],"latest_commit_sha":null,"homepage":"https://treasure-hunter-game-sub.web.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasctnh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-01-02T02:49:16.000Z","updated_at":"2023-08-29T23:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9787159-02c1-4856-a69d-2cffe49783fc","html_url":"https://github.com/lucasctnh/sub-treasure-hunter","commit_stats":null,"previous_names":["lucasctnh/sub-treasure-hunter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasctnh%2Fsub-treasure-hunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasctnh%2Fsub-treasure-hunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasctnh%2Fsub-treasure-hunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasctnh%2Fsub-treasure-hunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasctnh","download_url":"https://codeload.github.com/lucasctnh/sub-treasure-hunter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245062792,"owners_count":20554802,"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":["javascript","learning-by-doing","nodejs","phaser3","webpack"],"created_at":"2024-11-30T00:15:59.486Z","updated_at":"2025-12-30T23:38:10.658Z","avatar_url":"https://github.com/lucasctnh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S.U.B - A Treasure Hunter Game\n![Game Image](https://github.com/lcscout/sub-treasure-hunter/blob/master/sub_treasure.png \"Game Image\")\n\nThis is a simple game I've made just to get familiarized with the game framework\n[Phaser 3](https://phaser.io/). I also did the sprites myself, which made the\nproject more satisfying to do.\n\nA demo can be found [here](https://treasure-hunter-game-sub.web.app/).\n\n## Requirements\n\n[Node.js](https://nodejs.org) is required to install dependencies and run scripts via `npm`.\n\n## Available Commands\n\n| Command | Description |\n|---------|-------------|\n| `npm install` | Install project dependencies |\n| `npm start` | Starts project with the dev-server with development settings |\n| `npm run build` | Builds code bundle with production settings (minification, uglification, etc..) |\n| `npm run devbuild` | Builds bundle and runs dev-server with production settings |\n\n## Writing Code\n\nAfter cloning the repo, run `npm install` from your project directory. Then, you\ncan start the local development server by running `npm run dev`.\n\nAfter starting the development server with `npm run dev`, you can edit any files in the `src` folder\nand webpack will automatically recompile and reload your server (available at `http://localhost:8080`\nby default).\n\n## Customizing Template\n\n### Babel\nYou can write modern ES6+ JavaScript and Babel will transpile it to a version of JavaScript that you\nwant your project to support. The targeted browsers are set in the `.babelrc` file and the default currently\ntargets all browsers with total usage over \"0.25%\" but excludes IE11 and Opera Mini.\n\n  ```\n  \"browsers\": [\n    \"\u003e0.25%\",\n    \"not ie 11\",\n    \"not op_mini all\"\n  ]\n  ```\n\n### Webpack\nIf you want to customize your build, such as adding a new webpack loader or\nplugin (i.e. for loading CSS or fonts), you can modify the `webpack/base.js`\nfile for cross-project changes, or you can modify and/or create\nnew configuration files and target them in specific npm tasks inside of `package.json'.\n\n## Deploying Code\nAfter you run the `npm run build` command, your code will be built into a single bundle located at\n`dist/bundle.min.js` along with any other assets you project depended.\n\nIf you put the contents of the `dist` folder in a publicly-accessible location (say something like `http://mycoolserver.com`),\nyou should be able to open `http://mycoolserver.com/index.html` and play your\ngame. In my case, I'm using Firebase to deploy it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasctnh%2Fsub-treasure-hunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasctnh%2Fsub-treasure-hunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasctnh%2Fsub-treasure-hunter/lists"}