{"id":13339569,"url":"https://github.com/AmielCyber/tdd-tic-tac-toe","last_synced_at":"2025-03-11T14:31:58.672Z","repository":{"id":60985759,"uuid":"536350557","full_name":"AmielCyber/tdd-tic-tac-toe","owner":"AmielCyber","description":"Test Driven Development Tic Tac Toe Demo with Jest.","archived":false,"fork":false,"pushed_at":"2022-10-18T23:21:11.000Z","size":10799,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T02:31:17.927Z","etag":null,"topics":["dark-theme","jest","light-theme","react","react-testing-library","test","test-driven-development","tic-tac-toe","typescript","unit-testing","usereducer"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/AmielCyber.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":"2022-09-14T00:07:05.000Z","updated_at":"2023-03-13T23:57:13.000Z","dependencies_parsed_at":"2023-01-20T08:48:14.700Z","dependency_job_id":null,"html_url":"https://github.com/AmielCyber/tdd-tic-tac-toe","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/AmielCyber%2Ftdd-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmielCyber%2Ftdd-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmielCyber%2Ftdd-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmielCyber%2Ftdd-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmielCyber","download_url":"https://codeload.github.com/AmielCyber/tdd-tic-tac-toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243051959,"owners_count":20228301,"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":["dark-theme","jest","light-theme","react","react-testing-library","test","test-driven-development","tic-tac-toe","typescript","unit-testing","usereducer"],"created_at":"2024-07-29T19:20:21.917Z","updated_at":"2025-03-11T14:31:57.808Z","avatar_url":"https://github.com/AmielCyber.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tdd-tic-tac-toe\n\n## Description\n\nTo celebrate my first year using React, I build a Tic-Tac-Toe based on the first project I ever did with React.\nThis project is a test driven development using React Testing Library and Jest. Unlike the first project, this\nproject has better styling and many other features mentioned below.\n\n## Demo\n\n### [Live Demo](http://AmielCyber.github.io/tdd-tic-tac-toe)\n\n### Screenshots\n\n#### Light Theme\n\n![Light Theme Desktop Preview](/assets/desktopLight.png)\n\n#### Dark Theme\n\n![Dark Theme Desktop Preview](/assets/desktopDark.png)\n\n### Mobile Demo\n![Mobile Preview](/assets/mobileDemo.gif)\n\n## Features\n\n- [x] Game class to track state of a game.\n- [x] User can go to a previous game state.\n- [x] useReducer is used to keep track an array of Game states that have been played.\n- [x] Components and useReducer functions are fully tested and contain their own test file `.test`.\n- [x] Game displays which player is next and if the game is over.\n- [x] Users can choose to display or not to display previous games.\n- [x] Play Again button appears when the game is over and when clicked it resets the game.\n- [x] Compatible for mobile devices.\n- [x] Compatible for accessibility.\n- [x] Compatible for user system's theme preference (Light or Dark theme).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmielCyber%2Ftdd-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAmielCyber%2Ftdd-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmielCyber%2Ftdd-tic-tac-toe/lists"}