{"id":25609881,"url":"https://github.com/zouariomar/tic-tac-toe","last_synced_at":"2026-06-19T08:02:05.034Z","repository":{"id":278237999,"uuid":"877051951","full_name":"ZouariOmar/Tic-Tac-Toe","owner":"ZouariOmar","description":"This is a Tic Tac Toe game implemented in C++ using SDL 1.2 for graphics and CMake with Ninja as the build system","archived":false,"fork":false,"pushed_at":"2025-02-18T17:46:09.000Z","size":1804,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T18:42:47.591Z","etag":null,"topics":["c","cmake","game","game-development","gui","ninja-build","sdl","sld2-image"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/in/zouari-omar-143239283","language":"C","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/ZouariOmar.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-10-23T02:13:57.000Z","updated_at":"2025-02-18T17:46:12.000Z","dependencies_parsed_at":"2025-02-18T18:52:53.324Z","dependency_job_id":null,"html_url":"https://github.com/ZouariOmar/Tic-Tac-Toe","commit_stats":null,"previous_names":["zouariomar/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZouariOmar/Tic-Tac-Toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZouariOmar%2FTic-Tac-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZouariOmar%2FTic-Tac-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZouariOmar%2FTic-Tac-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZouariOmar%2FTic-Tac-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZouariOmar","download_url":"https://codeload.github.com/ZouariOmar/Tic-Tac-Toe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZouariOmar%2FTic-Tac-Toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34522042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","cmake","game","game-development","gui","ninja-build","sdl","sld2-image"],"created_at":"2025-02-21T21:58:56.240Z","updated_at":"2026-06-19T08:02:05.005Z","avatar_url":"https://github.com/ZouariOmar.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- @format --\u003e\n\n# Tic Tac Toe Game\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"project/res/img3.png\" alt=\"Tic Tac Toe\" width=\"200\"/\u003e\n    \u003cimg src=\"project/res/img2.png\" alt=\"Tic Tac Toe\" width=\"200\"/\u003e\n\u003c/div\u003e\n\n## Overview\n\nThis is a Tic Tac Toe game implemented in C++ using SDL 1.2 for graphics and CMake with Ninja as the build system. The game allows the player to compete against the computer on a 3x3 grid, aiming to align three of their marks (Kayori or Enemy) horizontally, vertically, or diagonally.\n\n## Used tech\n\n![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black)\n![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge\u0026logo=git\u0026logoColor=white)\n![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white)\n![C](https://img.shields.io/badge/c-%2300599C.svg?style=for-the-badge\u0026logo=c\u0026logoColor=white)\n![CMake](https://img.shields.io/badge/CMake-%23008FBA.svg?style=for-the-badge\u0026logo=cmake\u0026logoColor=white)\n![SDL1.2](https://img.shields.io/badge/SDL1.2-%2307405e.svg?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n\n## Features\n\n- player-computer gamePlay (Player X and Player O)\n- User-friendly graphical interface powered by SDL\n- Input validation to ensure valid moves\n- Restart option to play multiple rounds\n\n## Prerequisites\n\nBefore running the game, ensure you have the following installed:\n\n- C compiler (e.g., gcc)\n- CMake (version 3.0 or higher)\n- Ninja build system\n- SDL 1.2 library\n\n## Project Structure\n\n```bash\n.tic-tac-toe\n├── bin\n│   ├── build\n│   │   └── CMakeFiles\n│   │       ├── 3.30.3\n│   │       │   ├── CompilerIdC\n│   │       │   │   └── tmp\n│   │       │   └── CompilerIdCXX\n│   │       │       └── tmp\n│   │       ├── app.dir\n│   │       └── pkgRedirects\n│   ├── debug\n│   ├── release\n│   └── test\n├── doc\n│   └── pdf\n├── pkg\n└── project\n    ├── doc\n    ├── inc\n    ├── models\n    ├── res\n    └── src\n\n32 directories\n```\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/ZouariOmar/tic-tac-toe\n   cd tic-tac-toe\n   ```\n\n2. **Run the game**\n\n   ```bash\n   chmod +x run.sh\n   ./run.sh ninja\n   ```\n\n## Contributing\n\nContributions are welcome! If you have suggestions for improvements or features, feel free to fork the repository and submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENCE) file for details.\n\n## Acknowledgments\n\n- SDL for the graphics library.\n- Thanks to everyone who contributed to the development of this game!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzouariomar%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzouariomar%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzouariomar%2Ftic-tac-toe/lists"}