{"id":33731324,"url":"https://github.com/codesignal/learn_typing-simulator-game","last_synced_at":"2026-03-06T19:01:54.595Z","repository":{"id":326772519,"uuid":"1106782231","full_name":"CodeSignal/learn_typing-simulator-game","owner":"CodeSignal","description":"Typing simulator with games for engaging practices!","archived":false,"fork":false,"pushed_at":"2026-03-05T17:27:48.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T19:59:17.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeSignal.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-29T23:35:26.000Z","updated_at":"2026-03-05T17:07:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CodeSignal/learn_typing-simulator-game","commit_stats":null,"previous_names":["codesignal/learn_typing-simulator-game"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/CodeSignal/learn_typing-simulator-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_typing-simulator-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_typing-simulator-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_typing-simulator-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_typing-simulator-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeSignal","download_url":"https://codeload.github.com/CodeSignal/learn_typing-simulator-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_typing-simulator-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30192367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T18:54:55.862Z","status":"ssl_error","status_checked_at":"2026-03-06T18:53:04.013Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-12-04T15:03:49.830Z","updated_at":"2026-03-06T19:01:54.579Z","avatar_url":"https://github.com/CodeSignal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typing Simulator Game\n\nTyping practice app with three modes:\n- `classic`: standard text typing\n- `racing`: race opponents while typing\n- `meteoriteRain`: destroy falling word meteorites by typing them\n\n## Setup\n\n```bash\ngit submodule update --init --recursive\nnpm install\n```\n\n## Run\n\n```bash\n# local development (Vite on 3000 + API server on 3001)\nnpm run start:dev\n\n# production build output to dist/\nnpm run build\n\n# serve dist/ on 3000\nnpm run start:prod\n```\n\n`npm start` maps to `npm run start:prod`.\n\n## Configuration\n\nRuntime behavior is controlled by `client/config.json`:\n- `gameType`: `classic`, `racing`, or `meteoriteRain`\n- `keyboard`: show/hide visual keyboard\n- `availableKeys`: allowed keys (empty array means all keys)\n- `showStats`: show final stats dashboard\n- `realTimeStats`: enabled live metrics (`speed`, `accuracy`, `time`, `errors`, `errorsLeft`, `chars`)\n- `racing`: mode-specific config (`opponentSpeeds`, `mistakesAllowed`)\n- `meteoriteRain`: mode-specific config (`meteoriteSpeed`, `spawnInterval`, `pointsPerChar`, `difficulty`)\n\n## Main Files\n\n- `client/index.html`: app shell and mode containers\n- `client/typing-simulator.js`: core gameplay and stats logic\n- `client/typing-simulator.css`: gameplay styles\n- `client/app.css`: shared shell/layout styles\n- `client/app.js`: help modal bootstrap\n- `client/design-system/components/modal/modal.js`: design-system modal used for help\n- `client/help-content.html`: help text shown in the modal\n- `client/text-to-input.txt`: source text used for typing\n- `server.js`: `/save-stats`, production static hosting\n- `extract_solution.py`: parses and prints `client/stats.txt`\n\n## API Endpoints\n\n- `POST /save-stats`\n  - Body: plain text payload\n  - Persists results to `client/stats.txt`.\n\n## Notes\n\n- Help content is loaded from `client/help-content.html` and shown via `Modal.createHelpModal` from the design system when `#btn-help` is clicked.\n- In development, Vite serves static assets and proxies `/save-stats` to the API server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_typing-simulator-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesignal%2Flearn_typing-simulator-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_typing-simulator-game/lists"}