{"id":15735168,"url":"https://github.com/coding-pelican/omok-c","last_synced_at":"2025-06-22T04:03:16.608Z","repository":{"id":257212607,"uuid":"857632140","full_name":"coding-pelican/omok-c","owner":"coding-pelican","description":"Simple implementation of the Omok (Five in a Row) game in C","archived":false,"fork":false,"pushed_at":"2024-09-15T07:37:10.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T03:47:02.837Z","etag":null,"topics":["ascii","c","cli","cli-game","console","console-based","console-game","five-in-row","game","gomoku","omok","terminal","terminal-based","terminal-game"],"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/coding-pelican.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":"2024-09-15T07:15:36.000Z","updated_at":"2024-09-16T09:32:42.000Z","dependencies_parsed_at":"2024-09-15T10:32:57.119Z","dependency_job_id":"db34c748-d0df-4609-84af-ef4d70a0a917","html_url":"https://github.com/coding-pelican/omok-c","commit_stats":null,"previous_names":["coding-pelican/omock-c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coding-pelican/omok-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-pelican%2Fomok-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-pelican%2Fomok-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-pelican%2Fomok-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-pelican%2Fomok-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coding-pelican","download_url":"https://codeload.github.com/coding-pelican/omok-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-pelican%2Fomok-c/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261233101,"owners_count":23128194,"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":["ascii","c","cli","cli-game","console","console-based","console-game","five-in-row","game","gomoku","omok","terminal","terminal-based","terminal-game"],"created_at":"2024-10-04T01:10:30.573Z","updated_at":"2025-06-22T04:03:11.594Z","avatar_url":"https://github.com/coding-pelican.png","language":"C","readme":"# Omok\n\nA simple implementation of the Omok (Five in a Row) game in C.\n\n## Overview\n\nThis project implements the classic Omok game, also known as Gomoku or Five in a Row. The game is played on a grid where\ntwo players take turns placing their stones, aiming to get five in a row horizontally, vertically, or diagonally.\n\n## Features\n\n- Console-based interface\n- 15x15 game board\n- Two-player gameplay\n- Win detection in all directions\n\n## Getting Started\n\n### Prerequisites\n\n- C compiler (e.g., GCC, Clang, or MSVC)\n\n### Building and Running\n\n1. Clone the repository:\n\n```shell\ngit clone https://github.com/coding-pelican/omok-c.git\n```\n\n2. Navigate to the project directory:\n\n```shell\ncd omok-c\n```\n\n3. Compile the source code:\n\n```shell\nclang main.c omok.c -o omok\n```\n\n4. Run the game:\n\n```shell\n./omok\n```\n\n## Gameplay\n\nPlayers take turns placing their stones on the board. The first player to get five stones in a row wins the game.\n\n## Code Structure\n\nThe project consists of the following files:\n\n- `main.c`: Entry point of the program\n- `omok.c`: Main game logic implementation\n- `omok.h`: Header file with function declarations and constants\n- `README.md`: This readme file providing an overview of the project\n\n## Future Improvements\n\n- Add AI opponent\n- Implement game saving/loading\n- Enhance user interface\n\n## License\n\nThis project is released under the MIT License. See the [LICENSE](README.md) file for more details.\n\n## Contributing\n\nContributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a\npull request.\n\n## Contact\n\nFor any questions or inquiries, please contact the project author:\n- Name: Gyeongtae Kim\n- Email: \u003ccodingpelican@gmail.com\u003e\n\nEnjoy playing Omok!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding-pelican%2Fomok-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoding-pelican%2Fomok-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding-pelican%2Fomok-c/lists"}