{"id":25403868,"url":"https://github.com/brainfkt/tic-tac-toe","last_synced_at":"2025-04-12T16:56:31.141Z","repository":{"id":277437189,"uuid":"932430028","full_name":"Brainfkt/TIC-TAC-TOE","owner":"Brainfkt","description":"A simple Tic Tac Toe console game in C with multi-language support (FR/EN).","archived":false,"fork":false,"pushed_at":"2025-02-13T23:01:01.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T23:32:42.079Z","etag":null,"topics":["c-language","console-game","tictactoe","tutorial"],"latest_commit_sha":null,"homepage":"","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/Brainfkt.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":"2025-02-13T22:37:34.000Z","updated_at":"2025-02-13T23:01:04.000Z","dependencies_parsed_at":"2025-02-13T23:43:41.289Z","dependency_job_id":null,"html_url":"https://github.com/Brainfkt/TIC-TAC-TOE","commit_stats":null,"previous_names":["brainfkt/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainfkt%2FTIC-TAC-TOE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainfkt%2FTIC-TAC-TOE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainfkt%2FTIC-TAC-TOE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainfkt%2FTIC-TAC-TOE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brainfkt","download_url":"https://codeload.github.com/Brainfkt/TIC-TAC-TOE/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601522,"owners_count":21131609,"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":["c-language","console-game","tictactoe","tutorial"],"created_at":"2025-02-16T03:27:12.326Z","updated_at":"2025-04-12T16:56:31.118Z","avatar_url":"https://github.com/Brainfkt.png","language":"C","readme":"# TicTacToe Console Game\n\n\u003e A simple Tic Tac Toe game in C for the console, with French/English language support and colored output (blue and red).\n\n## Description\n\nThis program lets you play the classic Tic Tac Toe (also known as Noughts and Crosses) in a local two-player mode.  \n- **Available languages**: French or English (select at startup).  \n- **Colored display**: uses ANSI codes (blue for `X`, red for `O`).  \n- **Score and history**: scores are tracked during the session, and an `historique.txt` file is created to log match results.\n\n## Features\n\n- Language selection (French/English).\n- Prompts for player names (Player 1 = X, Player 2 = O).\n- Displays the score (wins, losses, draws).\n- Saves results in `historique.txt`.\n\n## Requirements\n\n- A C compiler (GCC, Clang, MinGW, etc.).\n- A terminal that supports ANSI color codes (most modern terminals do).\n\n## Installation\n\n1. **Clone the repository** (or download the ZIP archive):\n   ```bash\n   git clone https://github.com/Brainfkt/TIC-TAC-TOE.git\n   cd TIC-TAC-TOE\n   ```\n\n2. **Compile and execute the code:**\n   \n     Linux/Mac:\n   ```bash\n   gcc -o tictactoe tictactoe.c\n   ./tictactoe\n   ```\n     Windows:\n   ```bash\n   gcc -o tictactoe.exe tictactoe.c\n   tictactoe.exe\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainfkt%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainfkt%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainfkt%2Ftic-tac-toe/lists"}