{"id":20748950,"url":"https://github.com/rhaeguard/flik","last_synced_at":"2025-03-11T13:51:10.789Z","repository":{"id":225305105,"uuid":"757282783","full_name":"rhaeguard/flik","owner":"rhaeguard","description":"the game of flik","archived":false,"fork":false,"pushed_at":"2025-02-22T16:10:05.000Z","size":11506,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T19:09:10.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/rhaeguard.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}},"created_at":"2024-02-14T07:04:35.000Z","updated_at":"2025-02-22T16:10:09.000Z","dependencies_parsed_at":"2025-02-22T17:31:54.171Z","dependency_job_id":null,"html_url":"https://github.com/rhaeguard/flik","commit_stats":null,"previous_names":["rhaeguard/flik"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaeguard%2Fflik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaeguard%2Fflik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaeguard%2Fflik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaeguard%2Fflik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhaeguard","download_url":"https://codeload.github.com/rhaeguard/flik/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243048120,"owners_count":20227592,"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":[],"created_at":"2024-11-17T08:19:40.855Z","updated_at":"2025-03-11T13:51:10.781Z","avatar_url":"https://github.com/rhaeguard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flik\n\nhttps://github.com/user-attachments/assets/ce13eaa1-e275-4290-af31-5df186c0a9ab\n\n### Idea\n\nWhen me and my brother were little, we used to come up with ideas for different games with what we had available to us. One of those was a game where the goal was to hit and knock off all caps of the opponent. Those caps were all Coca-Cola, Fanta, Sprite caps which all had their own colors. This game was played on a chessboard.\n\n#### Rules\n\n- The playing field is the same as the chessboard (for now) and split into two sections, one for each player\n- Each side gets 6 pieces and they can spread them as they want on their side\n- A player tries to hit the opponent's cap by flicking their own cap, and the goal is to knock it off the playing field.\n- You can only hit your own cap\n- Game ends when only one player's caps remain on the board\n\n### Running and Building\n\nOn Windows:\n\n```sh\n# from the root of the project\ngo run .\n```\n\n```sh\n# from the root of the project\ngo build -o bin\\ -ldflags \"-H=windowsgui\" .\n# an exe should be generated in the bin directory \n```\n\n#### References\n\n- [vobarian - 2D collision physics article](https://www.vobarian.com/collisions/2dcollisions2.pdf)\n- [pikuma - 2D collision video](https://www.youtube.com/watch?v=1L2g4ZqmFLQ)\n- [elastic/inelastic collisions](https://www.youtube.com/watch?v=9YRgHikdcqs)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhaeguard%2Fflik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhaeguard%2Fflik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhaeguard%2Fflik/lists"}