{"id":20185783,"url":"https://github.com/jerga99/snake-rust-game","last_synced_at":"2025-04-10T06:15:53.083Z","repository":{"id":40655459,"uuid":"433034317","full_name":"Jerga99/snake-rust-game","owner":"Jerga99","description":"Course on how to create a game in Rust","archived":false,"fork":false,"pushed_at":"2022-05-06T20:31:48.000Z","size":360,"stargazers_count":42,"open_issues_count":1,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T07:26:44.495Z","etag":null,"topics":["rust","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://www.udemy.com/course/rust-webassembly-with-js-ts-the-practical-guide/?referralCode=B8BF2207B45019CC1B3D","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/Jerga99.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}},"created_at":"2021-11-29T12:30:13.000Z","updated_at":"2025-01-14T04:59:42.000Z","dependencies_parsed_at":"2022-08-27T00:24:44.695Z","dependency_job_id":null,"html_url":"https://github.com/Jerga99/snake-rust-game","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/Jerga99%2Fsnake-rust-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jerga99%2Fsnake-rust-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jerga99%2Fsnake-rust-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jerga99%2Fsnake-rust-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jerga99","download_url":"https://codeload.github.com/Jerga99/snake-rust-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166853,"owners_count":21058481,"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":["rust","wasm","webassembly"],"created_at":"2024-11-14T03:14:45.487Z","updated_at":"2025-04-10T06:15:52.995Z","avatar_url":"https://github.com/Jerga99.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snake-rust-game (How to run)\n\n[Rust \u0026 WebAssembly with JS (TS) - The Practical Guide\n](https://www.udemy.com/course/rust-webassembly-with-js-ts-the-practical-guide/?referralCode=B8BF2207B45019CC1B3D)\n\n### Dependencies\n\n1. Install rustup -\u003e https://doc.rust-lang.org/book/ch01-01-installation.html\n\n2. Install \"wasm-pack\" -\u003e `cargo install wasm-pack`\n\n3. Install npm dependencies -\u003e `npm install` (must have Node JS) -\u003e https://nodejs.org/)\n\n### Compilation\nCompile the rust code every time the changes are made in `src/lib.rs`\n\n4. Compile rust code into web-assembly -\u003e `wasm-pack build --target web`\n\n5. Run the development server\n`npm start`\n\n6. Open the browser on `localhost:8080`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerga99%2Fsnake-rust-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerga99%2Fsnake-rust-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerga99%2Fsnake-rust-game/lists"}