{"id":19809754,"url":"https://github.com/beyondmayowo/tic-tac-toe","last_synced_at":"2025-02-28T12:46:27.821Z","repository":{"id":225678856,"uuid":"765802323","full_name":"beyondmayOwO/tic-tac-toe","owner":"beyondmayOwO","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-01-11T06:45:40.713Z","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/beyondmayOwO.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/beyondmayOwO/tic-tac-toe","commit_stats":null,"previous_names":["beyondmayowo/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondmayOwO%2Ftic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondmayOwO%2Ftic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondmayOwO%2Ftic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondmayOwO%2Ftic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondmayOwO","download_url":"https://codeload.github.com/beyondmayOwO/tic-tac-toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241152975,"owners_count":19918713,"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":["factory-functions","javascript","module-pattern","tictactoe"],"created_at":"2024-11-12T09:18:05.929Z","updated_at":"2025-02-28T12:46:27.793Z","avatar_url":"https://github.com/beyondmayOwO.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%2Fbeyondmayowo%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondmayowo%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondmayowo%2Ftic-tac-toe/lists"}