{"id":19731132,"url":"https://github.com/dyspersja/websocket-tic-tac-toe","last_synced_at":"2026-05-12T08:35:25.627Z","repository":{"id":242373341,"uuid":"809252937","full_name":"Dyspersja/WebSocket-Tic-Tac-Toe","owner":"Dyspersja","description":"Multiplayer Tic Tac Toe game created using WebSockets.","archived":false,"fork":false,"pushed_at":"2024-06-04T10:40:18.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T17:53:29.615Z","etag":null,"topics":["tic-tac-toe","tic-tac-toe-game","tic-tac-toe-javascript","websocket-game","websockets"],"latest_commit_sha":null,"homepage":"","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/Dyspersja.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-06-02T06:45:36.000Z","updated_at":"2024-06-04T10:40:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a8a2ca5-b874-4dd5-9c81-7a20bf039131","html_url":"https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe","commit_stats":null,"previous_names":["dyspersja/websocket-tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dyspersja%2FWebSocket-Tic-Tac-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dyspersja%2FWebSocket-Tic-Tac-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dyspersja%2FWebSocket-Tic-Tac-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dyspersja%2FWebSocket-Tic-Tac-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dyspersja","download_url":"https://codeload.github.com/Dyspersja/WebSocket-Tic-Tac-Toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241056202,"owners_count":19901733,"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":["tic-tac-toe","tic-tac-toe-game","tic-tac-toe-javascript","websocket-game","websockets"],"created_at":"2024-11-12T00:19:19.347Z","updated_at":"2026-05-12T08:35:20.579Z","avatar_url":"https://github.com/Dyspersja.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocket-Tic-Tac-Toe\nReal-time multiplayer Tic Tac Toe game created using WebSockets. It offers a variety of features to enhance gaming experience:\n\n## Features\n\n1. **Username Selection:** Users can choose a username that will distinguish them from other players.\n2. **Play vs AI:** Users can play against an AI opponent.\n3. **AI Difficulty Levels:** Users can choose from four different AI difficulty levels to match their skill level.\n4. **Play vs Players:** Users can play against other real players.\n5. **Random Opponent Queue:** Users can join a queue to find and play against a random opponent.\n6. **Create a Room:** Users can create a private room for playing with friends.\n7. **Join a Room by ID:** Users can join a specific room by entering its unique ID.\n8. **Spectate Games:** Users can spectate all currently ongoing games.\n\n## Setup Instructions\n\nBelow is step by step instruction on how to run this project on a local machine:\n\n1. **Clone the Repository:** Start by cloning this repository to your local machine using the following command:\n\n```\ngit clone https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe.git\n```\n\nAlternatively, if you don't have Git CLI installed on your computer, you can download the repository by navigating to the **\u003c\u003e Code** tab and selecting **Download ZIP**.\n\n2. **Install Dependencies:** Navigate to the project directory and install necessary dependencies using **npm install**:\n\n```\ncd WebSocket-Tic-Tac-Toe\nnpm install\n```\n**NOTE!** Please ensure that Node.js is installed on your computer. The project will not be able to run without it.\n\n3. **Start the Server**: Launch the application by running the following command:\n\n```\nnpm start\n```\n\nNow that the application is up and running, you can navigate to [http://localhost:8000](http://localhost:8000) to view the application and start playing!  \nTo test real-time communication between players, you can open multiple browser tabs and simulate multiple players.\n\n## Screenshots\n\nThe application was tested on mobile devices and it works great.\n\n![image](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/f985aebd-2357-4b83-9235-ba39680a6c6e)\n\n\u003c!-- ![441940134_401508686216786_7016215320289169597_n](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/f32165f4-072d-4dc9-828f-a5bb81f95eb3)\n![441951106_3258923671082964_5022497232259989886_n](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/3bb12a6b-0252-4578-8678-d4579d02fb03)\n![436621764_1476467209910883_6953463764252780924_n](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/e13474ab-bffb-417f-8179-eb9331573e35)\n![441945401_422688150678714_7475231291675995068_n](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/ad754f6d-198b-4fbe-b102-04810a7787e4) --\u003e\n\nOf course, application also works in standard computer web browsers.\n\n![image](https://github.com/Dyspersja/WebSocket-Tic-Tac-Toe/assets/146620220/814db710-3f33-4bd6-ae85-3bbcc8332a92)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyspersja%2Fwebsocket-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyspersja%2Fwebsocket-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyspersja%2Fwebsocket-tic-tac-toe/lists"}