{"id":19227200,"url":"https://github.com/jv-k/react-sketchgame","last_synced_at":"2026-04-07T08:02:07.307Z","repository":{"id":46520746,"uuid":"242040340","full_name":"jv-k/react-sketchgame","owner":"jv-k","description":"⚛️ A multi-round sketching game built using ReactJS, which utilises @googlecreativelab/quickdraw-dataset ML dataset to recognise the user's drawings","archived":false,"fork":false,"pushed_at":"2025-11-20T21:40:52.000Z","size":19921,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T23:28:48.154Z","etag":null,"topics":["game","ml","quickdraw-dataset","react","reactjs","tensorflow","ui"],"latest_commit_sha":null,"homepage":"https://jv-k.github.io/react-sketchgame","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/jv-k.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-21T02:51:57.000Z","updated_at":"2025-11-20T21:40:56.000Z","dependencies_parsed_at":"2022-07-22T11:02:31.880Z","dependency_job_id":null,"html_url":"https://github.com/jv-k/react-sketchgame","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jv-k/react-sketchgame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jv-k%2Freact-sketchgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jv-k%2Freact-sketchgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jv-k%2Freact-sketchgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jv-k%2Freact-sketchgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jv-k","download_url":"https://codeload.github.com/jv-k/react-sketchgame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jv-k%2Freact-sketchgame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["game","ml","quickdraw-dataset","react","reactjs","tensorflow","ui"],"created_at":"2024-11-09T15:22:22.873Z","updated_at":"2026-04-07T08:02:07.302Z","avatar_url":"https://github.com/jv-k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-sketchgame ⚛️✍️\n\n[![CodeQL](https://github.com/jv-k/react-sketchgame/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/jv-k/react-sketchgame/actions/workflows/codeql-analysis.yml)  [![CodeFactor](https://www.codefactor.io/repository/github/jv-k/react-sketchgame/badge)](https://www.codefactor.io/repository/github/jv-k/react-sketchgame)\n## A Multi-round Sketching Game ✏️\n\nThis is a multi-round sketching game built using ReactJS, and uses [@googlecreativelab/quickdraw-dataset](https://github.com/googlecreativelab/quickdraw-dataset) machine learning dataset to recognize the user's drawings.\n\n![Game view](/imgs/screenshot.gif)\n\n## Quick Start 🎬\n\nThis app has been tested and working with `node 10.16.0 - 14.17.0` on `MacOS`, please ensure you have a version installed within this range.\n\nTo install:\n\n```sh\nnpm install   # Install dependencies\nnpm run start # Run game\n```\n\n## Timed Drawing ⏳\nEach round is timed with a 20-second countdown. If the player successfully sketches a recognizable drawing within the time limit, they are awarded a point and advance to the next round. If the time runs out before a passable sketch is drawn, no points are awarded, and the game proceeds to the next round.\n\n## Winning or losing 🏆\nThe final screen displays the total score and a message indicating whether the player won or lost.\n\n## Simple navigation between views ↔️\nThis app uses React-Router to navigate between the start screen and game-play.\n\n## Demonstrating knowledge of ReactJS 🎓\nThis project demonstrates the following React features and patterns:\n\n- [x] Class-based and functional components\n- [x] Custom hooks\n- [x] State management with `useReducer`\n- [x] Side-effect management (e.g., `useEffect`, lifecycle methods)\n- [x] Context API to avoid prop-drilling\n- [x] Unit testing for UI components\n\n## TODO – A future version 🚧\n- [x] Create \u0026 add gameplay GIFs to docs\n- [ ] Add more integration / unit tests for game \u0026 results views\n- [ ] Make the score a factor in the time allowed per round (\"hard\" mode)\n- [ ] Improve / expand detection and no. of recognised things\n- [ ] Move styles out of JSX and use `styled-components`\n- [ ] Improve / polish the window size + mobile platform usability\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjv-k%2Freact-sketchgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjv-k%2Freact-sketchgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjv-k%2Freact-sketchgame/lists"}