{"id":19901249,"url":"https://github.com/vbrazhnik/filler","last_synced_at":"2025-03-01T07:14:50.869Z","repository":{"id":220985356,"uuid":"189851198","full_name":"VBrazhnik/Filler","owner":"VBrazhnik","description":"School 42 project // Bot for map-filler puzzle game","archived":false,"fork":false,"pushed_at":"2019-06-02T13:45:52.000Z","size":2286,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T21:13:44.132Z","etag":null,"topics":["42","42projects","42school","algorithm","born2code","bot","puzzle-game","sdl2","unitfactory","visualization","visualizer"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"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/VBrazhnik.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}},"created_at":"2019-06-02T13:41:01.000Z","updated_at":"2021-12-18T11:28:41.000Z","dependencies_parsed_at":"2024-02-12T01:30:16.471Z","dependency_job_id":null,"html_url":"https://github.com/VBrazhnik/Filler","commit_stats":null,"previous_names":["vbrazhnik/filler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FFiller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FFiller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FFiller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FFiller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VBrazhnik","download_url":"https://codeload.github.com/VBrazhnik/Filler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329418,"owners_count":19944985,"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":["42","42projects","42school","algorithm","born2code","bot","puzzle-game","sdl2","unitfactory","visualization","visualizer"],"created_at":"2024-11-12T20:14:28.935Z","updated_at":"2025-03-01T07:14:50.850Z","avatar_url":"https://github.com/VBrazhnik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filler\n\n![Filler](/images/filler.svg)\n\nFiller is a School 42 project. The purpose of this project is to create bot for map-filler puzzle game.\n\n[`filler.en.pdf`](/filler.en.pdf) is the task file.\n\n## Wiki\n\nYou can check [wiki-page](../../wiki/Algorithm) if you want to read a description of the created algorithm.\n\n## How to clone?\n\nThis repository includes submodule. So if you want to clone it, you can use the following command:\n\n```\ngit clone --recurse-submodules \u003crepository url\u003e\n```\n\nIf you will use `git clone \u003crepository url\u003e` instead of, you will get the empty `libft` folder.\n\n## Installation\n\nClone repository and then go into the created directory and run the following command:\n\n```\nmake\n```\n\n## How to run program?\n\nThere are resources that are provided by task — a virtual machine (`filler_vm`), maps, and bots. They are located at the [`resources` directory](/resources).\n\nThe virtual machine moderates a game. It needs [a map file](/resources/maps) and [bots](/resources/players).\n\nThe purpose of the project is to create own bot.\n\nA name of the created bot is `vbrazhni.filler`. It will be created after `make` command and placed at the root of the directory.\n\nYou can run the virtual machine with the following command:\n\n```\n./filler_vm -f MAP_FILE -p1 PLAYER_FILE -p2 PLAYER_FILE\n```\n\n## Visualizer\n\nAlso this project has a visualizer.\n\nIt was written with **SDL2** library.\n\n**Prerequisites**\n\n* ```brew install SDL2```\n\n### How to use visualizer?\n\n```\nUsage: ./filler_vm -f MAP_FILE -p1 PLAYER_FILE -p2 PLAYER_FILE | ./vs\n\nControl keys:\n\u003e Space       — start/stop\n\u003e Right Arrow — next step\n\u003e Left Arrow  — previous step\n```\n\n![Visualizer](/images/visualizer.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Ffiller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbrazhnik%2Ffiller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Ffiller/lists"}