{"id":20204583,"url":"https://github.com/wilsonsilva/raylib-tic-tac-toe","last_synced_at":"2026-02-17T07:16:18.612Z","repository":{"id":196036291,"uuid":"694071482","full_name":"wilsonsilva/raylib-tic-tac-toe","owner":"wilsonsilva","description":"Tic Tac Toe in Raylib","archived":false,"fork":false,"pushed_at":"2025-09-28T18:29:16.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T10:48:17.787Z","etag":null,"topics":["c","raylib","raylib-c","raylib-game","tic-tac-toe","tic-tac-toe-game","tictactoe","tictactoe-game"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/wilsonsilva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-20T09:19:06.000Z","updated_at":"2025-02-19T19:32:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"2947129e-c724-46a0-8614-79bde245e18d","html_url":"https://github.com/wilsonsilva/raylib-tic-tac-toe","commit_stats":null,"previous_names":["wilsonsilva/raylib-tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wilsonsilva/raylib-tic-tac-toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Fraylib-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Fraylib-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Fraylib-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Fraylib-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsonsilva","download_url":"https://codeload.github.com/wilsonsilva/raylib-tic-tac-toe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Fraylib-tic-tac-toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016921,"owners_count":26085905,"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-10-13T02:00:06.723Z","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","raylib","raylib-c","raylib-game","tic-tac-toe","tic-tac-toe-game","tictactoe","tictactoe-game"],"created_at":"2024-11-14T05:14:00.847Z","updated_at":"2025-10-13T20:05:51.634Z","avatar_url":"https://github.com/wilsonsilva.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raylib Tic Tac Toe\n\nA tic-tac-toe game powered by [raylib](https://www.raylib.com/), compiling for both desktop and web using emscripten.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/assets/tic-tac-toe.png?raw=true\" alt=\"Tic Tac Toe Screenshot\" width=\"50%\" height=\"50%\"/\u003e\n\u003c/p\u003e\n\n## Motivation\n\nPractice my C programming skills.\n\n## Prerequisites\n\n1. Install [raylib](https://www.raylib.com/)\n2. Install [CMake](https://cmake.org/)\n3. [emsdk](https://emscripten.org/docs/getting_started/downloads.html) is required for web builds\n4. Install the `just` command runner (optional)\n\n## Compiling\n\n### Using `just`\n\n1. **List Commands**: To see a list of available commands:\n   ```bash\n   just help\n   ```\n\n2. **Build for Desktop**:\n    **Debug**:\n    ```bash\n    just build-debug\n    ```\n    **Release**:\n    ```bash\n    just build-release\n    ```\n\n3. **Build for Web**: Before building for the web, ensure that the emsdk environment is correctly set up on your system.\n   ```bash\n   just build-web\n   ```\n   \n   Alternatively, you can build a debug version for the web :\n   ```bash\n\n4. **Clean**: To remove the build and out directories:\n   ```bash\n   just clean\n   ```\n\n### Manual Building\n\nIf you don't want to use `just`, you can also follow these manual steps:\n\n#### Desktop Build\n\n1. Create a build directory:\n   ```bash\n   mkdir build \u0026\u0026 cd build\n   ```\n\n2. Run CMake:\n   ```bash\n   cmake ..\n   ```\n\n3. Build the project:\n   ```bash\n   cmake --build . --config [Debug/Release] --target raylib-tic-tac-toe -j 10\n   ```\n\n#### Web Build\n\n1. Activate emsdk:\n   ```bash\n   sudo emsdk activate latest\n   source \"/usr/lib/emsdk/emsdk_env.sh\"\n   ```\n\n2. Create the web build directory:\n   ```bash\n   mkdir build-web \u0026\u0026 cd build-web\n   ```\n\n3. Ensure the resources folder is copied:\n   ```bash\n   rm -rf resources || true\n   cp -R ../resources .\n   ```\n\n4. Run emscripten's CMake:\n   ```bash\n   emcmake cmake .. -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS=\"-s USE_GLFW=3\" -DCMAKE_EXECUTABLE_SUFFIX=\".html\" -DWEB_SHELL=minshell.html\n   ```\n\n5. Compile the project:\n   ```bash\n   emmake make\n   ```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/wilsonsilva/raylib-tic-tac-toe.\nThis project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere\nto the [code of conduct](https://github.com/wilsonsilva/raylib-tic-tac-toe/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the raylib-tic-tac-toe project's codebases, issue trackers, chat rooms and mailing lists is expected\nto follow the [code of conduct](https://github.com/wilsonsilva/raylib-tic-tac-toe/blob/main/CODE_OF_CONDUCT.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsilva%2Fraylib-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonsilva%2Fraylib-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsilva%2Fraylib-tic-tac-toe/lists"}