{"id":30735852,"url":"https://github.com/k0lala/octisc","last_synced_at":"2025-09-03T20:51:56.354Z","repository":{"id":310091943,"uuid":"1038500693","full_name":"K0LALA/OctisC","owner":"K0LALA","description":"2-player Tetris game, C version","archived":false,"fork":false,"pushed_at":"2025-09-01T10:47:06.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-01T12:41:02.237Z","etag":null,"topics":["c"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/K0LALA.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-15T10:11:20.000Z","updated_at":"2025-09-01T10:45:09.000Z","dependencies_parsed_at":"2025-08-15T18:35:17.046Z","dependency_job_id":"3b37a381-63ef-414f-a936-f28276139578","html_url":"https://github.com/K0LALA/OctisC","commit_stats":null,"previous_names":["k0lala/octisc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/K0LALA/OctisC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0LALA%2FOctisC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0LALA%2FOctisC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0LALA%2FOctisC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0LALA%2FOctisC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/K0LALA","download_url":"https://codeload.github.com/K0LALA/OctisC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0LALA%2FOctisC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273509212,"owners_count":25118447,"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-09-03T02:00:09.631Z","response_time":76,"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"],"created_at":"2025-09-03T20:51:54.247Z","updated_at":"2025-09-03T20:51:56.337Z","avatar_url":"https://github.com/K0LALA.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Octis\n\nThis game is based on **Tetris** but this time as a 2-player game where the goal is to make the oppponent place a block over the limit.\u003cbr\u003e\n\u003cbr\u003e\nThis version of the game is written entirely in C and using SDL2 for graphics.\u003cbr\u003e\nThis same game is also written in [Python](https://github.com/K0LALA/OctisTerminal) but has less features.\u003cbr\u003e\n\n\u003cimg src=\"demo.png\" alt=\"Demo\"/\u003e\n\n## Building\n\nIn order to build the program, you first need to install the SDL2 and SLD2_ttf libraries.\u003cbr\u003e\nThen using GCC, or the compiler of your choice:\u003cbr\u003e\n`gcc -o octis.out octis.c screen.c $(sdl2-config --cflags --libs) -lSDL2_ttf`\u003cbr\u003e\n\u003cbr\u003e\nIf you want to create a Windows executable from Linux, you can refer to this \u003ca href=\"https://gist.github.com/CobaltXII/f6f49dd3217569b20879a5e059953544\"\u003elink\u003c/a\u003e.\nWith a command that may look like this:\u003cbr\u003e\n`x86_64-w64-mingw32-gcc -o octis.exe octis.c screen.c $(x86_64-w64-mingw32-pkg-config sdl2 --cflags --libs) -lSDL2_ttf`\u003cbr\u003e\nTo work, you'll need `SDL2.dll` and `SDL2_ttf.dll` libraries either in the same folder as .exe or in a folder listed in the PATH.\u003cbr\u003e\nYou can grab these online or from the \u003ca href=\"https://github.com/K0LALA/OctisC/releases\"\u003eReleases page\u003c/a\u003e.\u003cbr\u003e\n\u003cbr\u003e\n\n## License\n\nYou are free to use the entirety of the idea and the code as you wish as this was made for eductional purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0lala%2Foctisc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0lala%2Foctisc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0lala%2Foctisc/lists"}