{"id":18717071,"url":"https://github.com/mell62/tic-tac-toe","last_synced_at":"2025-11-10T12:30:14.540Z","repository":{"id":192883277,"uuid":"687659079","full_name":"mell62/tic-tac-toe","owner":"mell62","description":"Jump straight into this JavaScript powered game if you're bored, and have a companion with you.","archived":false,"fork":false,"pushed_at":"2023-09-11T20:38:57.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T10:36:09.522Z","etag":null,"topics":["factory-functions","flexbox","grid","javascript","module-pattern"],"latest_commit_sha":null,"homepage":"https://mell62.github.io/tic-tac-toe/","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/mell62.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}},"created_at":"2023-09-05T18:25:37.000Z","updated_at":"2023-09-11T20:47:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a57e4eef-7cfe-401e-befa-b65a7820a9c9","html_url":"https://github.com/mell62/tic-tac-toe","commit_stats":null,"previous_names":["mell62/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Ftic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Ftic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Ftic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mell62%2Ftic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mell62","download_url":"https://codeload.github.com/mell62/tic-tac-toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581797,"owners_count":19662958,"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","flexbox","grid","javascript","module-pattern"],"created_at":"2024-11-07T13:14:42.530Z","updated_at":"2025-11-10T12:30:14.491Z","avatar_url":"https://github.com/mell62.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic-Tac-Toe\n\nTic-tac-toe, the evergreen boredom buster, developed using HTML, CSS and JavaScript, showcasing the JavaScript **Module Pattern**.\n\n**Check it out :point_right:[here](https://mell62.github.io/tic-tac-toe):point_left:!**\n\n![tictactoe-screenshot](./images/screenshot.png)\n\n## :thumbsup: Features\n\n- Play the basic tic-tac-toe game by clicking on the grid\n- Set/change your names by clicking the \"Set Name\" button\n- Displays the player's name after winning a round, otherwise displays a game draw message\n- Restart the game for another round by clicking the \"Restart\" button\n\n## :star2: Achievements\n\n- The **module pattern** in JavaScript is used to implement the working of this application\n- Separation of concerns is implemented: the game logic and the game UI is separated into different modules\n- The players are stored as objects using **factory functions**\n- The application is developed with the goal of minimizing global code as much as possible\n- The concept of **scope** and **closure** is greatly utilized\n- Fairly responsive in most devices\n\n## :electric_plug: Extra features\n\n- Displays the score of both players\n- Switch players: Players can switch their token after a round by clicking the switch players button just below the tic-tac-toe grid\n- The tic-tac-toe grid gives a visual indicator of how the player won the round\n\n## :grey_exclamation: Limitations\n\n- Computer player not implemented\n\n## :page_with_curl: Note\n\n- The CSS preprocessor SASS is used for styling the entire web page\n- Modern-normalize is used to maintain cross-browser consistency\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmell62%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmell62%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmell62%2Ftic-tac-toe/lists"}