{"id":17070560,"url":"https://github.com/oakmac/connect-four","last_synced_at":"2026-05-06T07:40:37.053Z","repository":{"id":66970559,"uuid":"93795091","full_name":"oakmac/connect-four","owner":"oakmac","description":"Connect Four assignment","archived":false,"fork":false,"pushed_at":"2017-06-09T13:46:22.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T17:26:23.287Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oakmac.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-08T21:57:05.000Z","updated_at":"2017-06-09T12:53:02.000Z","dependencies_parsed_at":"2023-05-16T07:00:13.589Z","dependency_job_id":null,"html_url":"https://github.com/oakmac/connect-four","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/oakmac%2Fconnect-four","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fconnect-four/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fconnect-four/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fconnect-four/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oakmac","download_url":"https://codeload.github.com/oakmac/connect-four/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090875,"owners_count":20559298,"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":[],"created_at":"2024-10-14T11:32:14.206Z","updated_at":"2026-05-06T07:40:36.999Z","avatar_url":"https://github.com/oakmac.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Four\n\nBuild the classic game [Connect Four] using JavaScript and React.js.\n\n## Required Features\n\n- Built using [React]\n- Use only [functional, stateless components]. Components should only render based\n  on their `props`. Components should not have any `state`.\n- There should be \"one source of truth\" for the game's state. ie: one state object\n- You should be able to start a game, play to completion, and then begin a new\n  game, etc. ie: it never \"stops\"\n- The application should detect when a game has been won or ends in a draw.\n- Players should be able to enter their names and have them displayed on the screen.\n- The game should work well on a mobile device. Imagine two friends passing a phone\n  back and forth while waiting in line for a concert or similar.\n- Use plentiful `console.assert()` statements to unit test your game logic code.\n- Put all game logic code into it's own module.\n\n## Bonus Features\n\n- Keep a running scoreboard of wins / loses.\n- Players should not lose their game state when the browser is refreshed.\n  - Hint: use [localStorage] + JSON\n- Record a history of the games. Be able to \"play back\" old games.\n\n[Connect Four]:https://en.wikipedia.org/wiki/Connect_Four\n[React]:https://facebook.github.io/react/\n[functional, stateless components]:https://facebook.github.io/react/docs/components-and-props.html#props-are-read-only\n[localStorage]:https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fconnect-four","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foakmac%2Fconnect-four","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fconnect-four/lists"}