{"id":26921669,"url":"https://github.com/gokselgoktas/labyrinth","last_synced_at":"2025-04-01T23:36:49.969Z","repository":{"id":9424976,"uuid":"11296863","full_name":"gokselgoktas/labyrinth","owner":"gokselgoktas","description":"A procedural labyrinth game written in one terminal page (80×24) of space for code","archived":false,"fork":false,"pushed_at":"2017-06-01T23:04:11.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-02T00:36:56.402Z","etag":null,"topics":["code-golf","game","procedural-generation","sdl"],"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/gokselgoktas.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}},"created_at":"2013-07-09T23:23:03.000Z","updated_at":"2019-11-15T06:28:48.000Z","dependencies_parsed_at":"2022-07-21T11:59:06.955Z","dependency_job_id":null,"html_url":"https://github.com/gokselgoktas/labyrinth","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokselgoktas%2Flabyrinth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokselgoktas%2Flabyrinth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokselgoktas%2Flabyrinth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokselgoktas%2Flabyrinth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gokselgoktas","download_url":"https://codeload.github.com/gokselgoktas/labyrinth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246730277,"owners_count":20824396,"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":["code-golf","game","procedural-generation","sdl"],"created_at":"2025-04-01T23:36:49.326Z","updated_at":"2025-04-01T23:36:49.960Z","avatar_url":"https://github.com/gokselgoktas.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Labyrinth\n\nA procedural labyrinth game written in one terminal page (80\u0026times;24) of space\nfor code\n\n![Labyrinth](http://i.imgur.com/Tgwfk3W.png)\n\n## Why?\n\nBecause why not? Kidding aside, the game came to existence as part of a quick\nchallenge on the [TIGSource](http://www.tigsource.com) forums. The goal was to\ncreate a complete game in one terminal page of space; that would be 1920\nbytes (characters) of code including all those newlines.\n\n## Compiling\n\nLabyrinth uses [SDL](http://www.libsdl.org/) as its backbone. In order to\ncompile `labyrinth.c`, you will be needing\n[SDL 1.2.*](http://www.libsdl.org/download-1.2.php). Once you have it installed\nand in place, simply do:\n\n```bash\ncc labyrinth.c `sdl-config --cflags --libs -o labyrinth`\n```\n\nThe compiler might bug you with a warning regarding `time()`, that is to be\nexpected. Due to the amount of code space available the header file containing\na prototype for `time()` was not included.\n\nThis was all for compiling on *nix; as for compiling on Windows\u0026hellip; I\nhonestly have no idea. Though, it should work out of the box, just fine.\n\n## The objective\n\nYour ultimate objective is to unite the black square with the blue square. You\ndo this by moving the black square through dragging and dropping using your\nmouse.\n\nYou have 20 seconds for each level to achieve this objective. If, for\nwhatever reason, you fail to unite these little chaps, the game will simply\nquit abruptly.\n\n## License\n\nConsidering it's a very simple game with an obfuscated C code, there shouldn't\nbe any valid reason to license it with anything other than the\n[WTFPL](http://www.wtfpl.net)\u0026hellip;\n\n\u003e Everyone is permitted to copy and distribute verbatim or modified copies of\n\u003e this license agreement, and changing it is allowed as long as the name is\n\u003e changed.\n\nIn other words:\n\n\u003e You just __do what the fuck you want to__.\n\n## Contributors\n\nHere's the name of the sole contributor of the project. It's not like anyone\nelse will ever contribute but formalities are formalities.\n\n* Goksel Goktas (author)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgokselgoktas%2Flabyrinth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgokselgoktas%2Flabyrinth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgokselgoktas%2Flabyrinth/lists"}