{"id":26409319,"url":"https://github.com/barandev/tic-tac-toe-with-javascript","last_synced_at":"2026-05-12T19:03:18.268Z","repository":{"id":224644425,"uuid":"763828579","full_name":"BaranDev/Tic-Tac-Toe-with-Javascript","owner":"BaranDev","description":"A simple Tic Tac Toe game implemented in JavaScript and Python Flask, featuring two-player and vs. computer modes.","archived":false,"fork":false,"pushed_at":"2024-06-30T12:33:43.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-02T17:08:55.836Z","etag":null,"topics":["ai","flask","game-development","javascript","python","tic-tac-toe","two-player-game","vs-computer","web-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaranDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-27T01:43:27.000Z","updated_at":"2024-06-30T12:33:48.000Z","dependencies_parsed_at":"2024-02-27T02:44:52.836Z","dependency_job_id":"ad405062-9876-40d1-bca8-498117e09ff4","html_url":"https://github.com/BaranDev/Tic-Tac-Toe-with-Javascript","commit_stats":null,"previous_names":["barandev/tic-tac-toe-with-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2FTic-Tac-Toe-with-Javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2FTic-Tac-Toe-with-Javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2FTic-Tac-Toe-with-Javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2FTic-Tac-Toe-with-Javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaranDev","download_url":"https://codeload.github.com/BaranDev/Tic-Tac-Toe-with-Javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094268,"owners_count":20397020,"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":["ai","flask","game-development","javascript","python","tic-tac-toe","two-player-game","vs-computer","web-development"],"created_at":"2025-03-17T19:19:57.137Z","updated_at":"2026-05-12T19:03:13.225Z","avatar_url":"https://github.com/BaranDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic Tac Toe Game\n\nThis repository contains a simple Tic Tac Toe game implemented in JavaScript and a Flask web application to serve the game.\n\n## Instructions\n\n### JavaScript Implementation (script.js)\n\n1. **Getting Started**: To start playing the game, open `index.html` in a web browser.\n\n2. **Game Modes**:\n   - **Two Player Mode**: Click on the \"Two Players\" button to start a game where two players can play against each other.\n   - **Vs. Computer Mode**: Click on the \"Vs. Computer\" button to play against the computer.\n\n3. **Gameplay**:\n   - Click on any empty cell to make your move.\n   - The game alternates between 'X' and 'O'.\n   - The game will notify you when someone wins or if it's a draw.\n   - Click on the \"Reset\" button to restart the game at any time.\n   - Click on the \"Back\" button to return to the main menu.\n\n### Python Flask Web Application (main.py)\n\n1. **Running the Application**:\n   - Ensure you have Python installed on your system.\n   - Install the required dependencies using `pip install -r requirements.txt`.\n   - Run the Flask application using `python main.py`.\n\n2. **Accessing the Game**:\n   - Once the Flask application is running, navigate to `http://localhost:8080` in your web browser to play the Tic Tac Toe game.\n\n![GitHub language count](https://img.shields.io/github/languages/count/barandev/Tic-Tac-Toe-with-Javascript)\n![GitHub repo size](https://img.shields.io/github/repo-size/barandev/Tic-Tac-Toe-with-Javascript)\n[![License](https://img.shields.io/github/license/barandev/Tic-Tac-Toe-with-Javascript)](https://github.com/barandev/Tic-Tac-Toe-with-Javascript/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/barandev/Tic-Tac-Toe-with-Javascript)](https://github.com/barandev/Tic-Tac-Toe-with-Javascript/issues)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr/barandev/Tic-Tac-Toe-with-Javascript)](https://github.com/barandev/Tic-Tac-Toe-with-Javascript/pulls)\n[![GitHub stars](https://img.shields.io/github/stars/barandev/Tic-Tac-Toe-with-Javascript)](https://github.com/barandev/Tic-Tac-Toe-with-Javascript/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/barandev/Tic-Tac-Toe-with-Javascript)](https://github.com/barandev/Tic-Tac-Toe-with-Javascript/network)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarandev%2Ftic-tac-toe-with-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarandev%2Ftic-tac-toe-with-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarandev%2Ftic-tac-toe-with-javascript/lists"}