{"id":18286898,"url":"https://github.com/khaled71612000/xo-using-unity","last_synced_at":"2026-04-13T08:31:34.643Z","repository":{"id":244934452,"uuid":"508884378","full_name":"khaled71612000/XO-Using-Unity","owner":"khaled71612000","description":"a project to implement the classic tic tac toe game in unity","archived":false,"fork":false,"pushed_at":"2026-04-04T10:29:33.000Z","size":57675,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T11:39:17.466Z","etag":null,"topics":["unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/khaled71612000.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":"2022-06-30T00:30:33.000Z","updated_at":"2026-04-04T10:29:37.000Z","dependencies_parsed_at":"2025-04-09T06:37:55.231Z","dependency_job_id":null,"html_url":"https://github.com/khaled71612000/XO-Using-Unity","commit_stats":null,"previous_names":["khaled71612000/xo-using-unity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khaled71612000/XO-Using-Unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaled71612000%2FXO-Using-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaled71612000%2FXO-Using-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaled71612000%2FXO-Using-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaled71612000%2FXO-Using-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khaled71612000","download_url":"https://codeload.github.com/khaled71612000/XO-Using-Unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaled71612000%2FXO-Using-Unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["unity"],"created_at":"2024-11-05T13:22:47.597Z","updated_at":"2026-04-13T08:31:34.634Z","avatar_url":"https://github.com/khaled71612000.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XO Using Unity\n\n\n![Unity](https://img.shields.io/badge/Unity-000000?logo=unity\u0026logoColor=white)\n![C#](https://img.shields.io/badge/C%23-239120?logo=c-sharp\u0026logoColor=white)\n![License](https://img.shields.io/badge/license-MIT-green)\n\n**XO Using Unity** is a Unity project that implements the classic Tic-Tac-Toe game. This project offers an engaging and interactive gaming experience with a clean and intuitive user interface.\n\n## Key Components\n\n### GameManager.cs\n- Manages game states, including player turns.\n- Checks win conditions and handles game resets.\n\n### GridSpace.cs\n- Handles individual grid spaces.\n- Captures player input and updates grid spaces accordingly.\n\n### Player.cs\n- Manages player data, such as symbols and turn tracking.\n\n### UIManager.cs\n- Updates UI elements, including score and messages.\n- Handles user interface interactions.\n\n## Features\n\n- **Turn-Based System:** Alternates turns between players.\n- **Win Condition Detection:** Announces wins or draws.\n- **Game Reset Functionality:** Allows for restarting the game.\n- **Simple and Intuitive UI:** Provides an easy-to-use interface.\n\n  \n![image](https://github.com/khaled71612000/XO-Using-Unity/assets/59780800/33ecf76c-9fd5-4aa7-ae7d-7cd9012afcdf)\n\n\n## Screenshots\n\n![Screenshot 1](https://raw.githubusercontent.com/khaled71612000/XO-Using-Unity/HEAD/Assets/Pixel Cursors/Cursors/basic_01 YELLOW.png)\n\n![Screenshot 2](https://raw.githubusercontent.com/khaled71612000/XO-Using-Unity/HEAD/Assets/Sprites/1.png)\n\n![Screenshot 3](https://raw.githubusercontent.com/khaled71612000/XO-Using-Unity/HEAD/Assets/Sprites/2.png)\n\n![Screenshot 4](https://raw.githubusercontent.com/khaled71612000/XO-Using-Unity/HEAD/Assets/Sprites/3.png)\n\n![Screenshot 5](https://raw.githubusercontent.com/khaled71612000/XO-Using-Unity/HEAD/Assets/Sprites/4.png)\n\n\n\n## Architecture\n\nKey classes and systems (from source code):\n\n- **`GameController`** (extends `MonoBehaviour`) — Unity component attached to a GameObject — orchestrates game-wide systems — Key methods: `TicTacToeButtton`\n- **`CameraController`** (extends `MonoBehaviour`) — Unity component attached to a GameObject — orchestrates game-wide systems — controls camera positioning and follow logic\n- **`TextMeshSpawner`** (extends `MonoBehaviour`) — Unity component attached to a GameObject — manages object spawning and pooling\n- **`Benchmark01_UGUI`** (extends `MonoBehaviour`) — Unity component attached to a GameObject — user interface and HUD rendering\n- **`ChatController`** (extends `MonoBehaviour`) — Unity component attached to a GameObject — orchestrates game-wide systems\n- **`EnvMapAnimator`** (extends `MonoBehaviour`) — Unity component attached to a GameObject\n\n\n## Tech Stack\n\n| Technology | Role |\n|---|---|\n| Unity 3D | Game engine |\n| C# | Gameplay scripting |\n| Unity Physics | Rigidbody \u0026 collision |\n| Git | Version control |\n\n\n## Getting Started\n\n### Prerequisites\n- [Unity Hub](https://unity.com/download) + Unity 2019.4 LTS or higher\n- Visual Studio 2019+ or VS Code\n\n### Setup\n```bash\ngit clone https://github.com/khaled71612000/XO-Using-Unity.git\n```\n1. Open **Unity Hub** → **Add** → select the cloned folder\n2. Open **Assets/Scenes/** → double-click the main scene\n3. Press ▶ **Play**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaled71612000%2Fxo-using-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhaled71612000%2Fxo-using-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaled71612000%2Fxo-using-unity/lists"}