{"id":34587108,"url":"https://github.com/rac-sri/snake-game","last_synced_at":"2026-04-10T11:01:46.009Z","repository":{"id":38884631,"uuid":"266312526","full_name":"rac-sri/Snake-Game","owner":"rac-sri","description":"Project made for Redis 'Beyond Cache' Hackathon.","archived":false,"fork":false,"pushed_at":"2023-01-06T07:13:19.000Z","size":7760,"stargazers_count":0,"open_issues_count":24,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-10T17:43:50.043Z","etag":null,"topics":["event-driven-architecture","nodejs","react-native","react-native-game-engine","redis"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rac-sri.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}},"created_at":"2020-05-23T10:23:53.000Z","updated_at":"2024-01-10T17:43:50.044Z","dependencies_parsed_at":"2023-02-05T14:47:40.381Z","dependency_job_id":null,"html_url":"https://github.com/rac-sri/Snake-Game","commit_stats":null,"previous_names":["rac-sri/snake-game"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/rac-sri/Snake-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rac-sri%2FSnake-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rac-sri%2FSnake-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rac-sri%2FSnake-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rac-sri%2FSnake-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rac-sri","download_url":"https://codeload.github.com/rac-sri/Snake-Game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rac-sri%2FSnake-Game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31639524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["event-driven-architecture","nodejs","react-native","react-native-game-engine","redis"],"created_at":"2025-12-24T10:34:12.536Z","updated_at":"2026-04-10T11:01:46.004Z","avatar_url":"https://github.com/rac-sri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game\n\n### Inspiration\n\nRedis was a database, I have heard several times about from various resources. This hackathon conducted by the team allowed me to study this awesome technology and apply it in a real-world scenario.\n\n## Installation\nFor Backend:\n```\n1. Start redis server\n2. cd api\n3. npm i\n4. node index.js\n```\nFor front end:\n\u003e Replace api call link to ```localhost:3050``` if you want to run the application locally \n```\n1. cd SnakeApp\n2. npm i\n3. npm start\n4. npm run android || npm run ios\n```\n\n### What it does\n\nMy app is basically, as the name suggests is a snake game. The advantage of using a database like Redis over other databases like Mongo, SQL, lies in the fact that for the data required to be fetched for these types of games, in no way require us to waste time in computing querying through a database. All that is needed is a given set of information that can be found and delivered way faster using Redis. Whenever an event occurs in the game, for eg. \"Game-over\" event, then only the database.\n\n### Tech Stack\n\n- React-Native\n- React-Native Game-Engine\n- NodeJS\n- Redis Database\n- Google Cloud Compute Engine\n\nThis application utilizes event-driven architecture.\n\n### Future Plans\n\nI intend to add more features to the game in future releases. These will include two player gaming.\nAdd more of these events driven processes by adding more features to the game, like tools, skills etc.\nAdd and migrate the working of the Redis database by redesigning the currently existing structure with RedisJSON module.\n\n### Try it out\n\n1.  Apk : [Link](https://drive.google.com/open?id=1SJFrtwDQsehiJN6T7Zpz9J8Bv7w7wx21)\n2.  Youtube : [Link](https://www.youtube.com/watch?v=5TTC36gBgY4\u0026feature=youtu.be)\n\n### Screenshots\n\n\u003cimg src=\"https://i.imgur.com/SwX1vq6.jpg\" width=\"480\" height=\"680\" /\u003e\n\n\u003cimg src=\"https://i.imgur.com/0kWe5kg.jpg\" width=\"480\" height=\"680\" /\u003e\n\n\u003cimg src=\"https://i.imgur.com/tFiVjDP.jpg\" width=\"480\" height=\"680\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frac-sri%2Fsnake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frac-sri%2Fsnake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frac-sri%2Fsnake-game/lists"}