{"id":25027710,"url":"https://github.com/ilbuso/tris","last_synced_at":"2025-10-25T16:10:01.676Z","repository":{"id":213384059,"uuid":"733884884","full_name":"ilBuso/Tris","owner":"ilBuso","description":"Tic-Tac-Toe in C","archived":false,"fork":false,"pushed_at":"2024-03-02T22:41:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T17:29:33.870Z","etag":null,"topics":["c","makefile","tic-tac-toe","tris"],"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/ilBuso.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":"2023-12-20T10:56:10.000Z","updated_at":"2023-12-20T17:00:21.000Z","dependencies_parsed_at":"2023-12-31T18:29:38.799Z","dependency_job_id":"98650787-5160-4a7b-82db-0ef172f96c67","html_url":"https://github.com/ilBuso/Tris","commit_stats":null,"previous_names":["ilbuso/tris"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilBuso/Tris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2FTris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2FTris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2FTris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2FTris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilBuso","download_url":"https://codeload.github.com/ilBuso/Tris/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2FTris/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268696924,"owners_count":24292384,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"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","makefile","tic-tac-toe","tris"],"created_at":"2025-02-05T19:38:37.347Z","updated_at":"2025-10-25T16:10:01.583Z","avatar_url":"https://github.com/ilBuso.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tris - by *ilBuso*\n\n## Table of Content\n- [About](#about)\n  - [Key Features](#key-features)\n- [Usage](#usage)\n  - [Download](#download)\n  - [Build and Run](#build-and-run)\n  - [Gameplay](#gameplay)\n  - [Clean Up](#clean-up)\n\n## About\n\n**Tris** is a command-line implementation of the classic Tic-Tac-Toe game, known as \"Tris\" in Italian. Developed entirely in the C programming language, this game offers a 1vs1 experience, allowing two players to engage in the timeless battle of X and O.\n\n### Key Features:\n- **Terminal-Based:** Tris runs only in the terminal.\n- **Pure C Development:** The entire game is crafted in the C programming language.\n- **Easy to Play:** The game utilizes the numpad for input, making it intuitive and easy to play. Each key corresponds to a cell on the grid, simplifying the move selection process.\n- **1vs1 Gameplay:** Enjoy a traditional Tic-Tac-Toe match against a friend, taking turns to make strategic moves on the game board.\n- **Leaderboard:** Tris includes a built-in leaderboard that keeps track of victories, adding a competitive edge to the game.\n\n\n## Usage\n\n### Download\nTo download, clone this repository to your local computer by running the following command:\n```Bash\ngit clone https://github.com/ilBuso/Tris.git\n```\n\n### Build and Run\nOnce downloaded, navigate to the Tris directory and compile the program using the following commands:\n```Bash\ncd ./Tris\ngcc -Wall -O2 -c main.c\ngcc -Wall -O2 -o tris main.o\n```\nAlternatively, you can use the provided Makefile with the following commands:\n```Bash\ncd ./Tris\nmake\n```\n\n### Gameplay\nRun the compiled Tris executable, eith the following comand:\n\n```Bash\n./tris\n```\nIf, for some reason, you are unfamiliar with how to play Tic-Tac-Toe, the program provides both a tutorial and a list of basic rules.\n\n### Clean Up\n\nTo clean up the generated files, run the following commands:\n```Bash\nrm -f tris main.o\n```\nOr, if you are using the Makefile, run:\n```Bash\nmake clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filbuso%2Ftris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filbuso%2Ftris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filbuso%2Ftris/lists"}