{"id":33367952,"url":"https://github.com/maykhinthant/tic-tac-toe","last_synced_at":"2026-06-08T18:31:48.133Z","repository":{"id":225678856,"uuid":"765802323","full_name":"maykhinthant/tic-tac-toe","owner":"maykhinthant","description":"tic-tac-toe game where two players can play on the board","archived":false,"fork":false,"pushed_at":"2024-03-15T09:23:51.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T18:03:01.194Z","etag":null,"topics":["factory-functions","javascript","module-pattern","tictactoe"],"latest_commit_sha":null,"homepage":"https://tictactoehere.netlify.app/","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/maykhinthant.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":"2024-03-01T16:38:50.000Z","updated_at":"2024-03-10T09:30:31.000Z","dependencies_parsed_at":"2024-03-15T08:31:19.253Z","dependency_job_id":"7d717383-bb54-4d17-a410-266a845e8a53","html_url":"https://github.com/maykhinthant/tic-tac-toe","commit_stats":null,"previous_names":["beyondmayowo/tic-tac-toe","maykhinthant/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maykhinthant/tic-tac-toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykhinthant%2Ftic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykhinthant%2Ftic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykhinthant%2Ftic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykhinthant%2Ftic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maykhinthant","download_url":"https://codeload.github.com/maykhinthant/tic-tac-toe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maykhinthant%2Ftic-tac-toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["factory-functions","javascript","module-pattern","tictactoe"],"created_at":"2025-11-22T18:02:42.122Z","updated_at":"2026-06-08T18:31:48.081Z","avatar_url":"https://github.com/maykhinthant.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tic-tac-toe\n\n\u003ca href=\"https://tictactoehere.netlify.app/\"\u003eLive Preview\u003c/a\u003e | \u003ca href=\"https://github.com/users/beyondmayOwO/projects/4\"\u003eHow I worked on this project\u003c/a\u003e\n\nThis is a tic-tac-toe game where two players can play on the board.\n\n## How to play\n\n\n- Put the names in the input boxes\n- Click 'Start'\n- A welcome text will pop up\n- You can close it by clicking 'x'\n- You can now start marking on the board\n- Mark on the board until the result text pop ups\n- Click on 'Restart' to restart the game\n\n## What I learned\n\n\n- Using factory functions instead of object constructors\n\n- Wrapping the factory inside an IIFE (module pattern)\n  For example, I put the codes inside the 'Game' module, making it little to no global code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaykhinthant%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaykhinthant%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaykhinthant%2Ftic-tac-toe/lists"}