{"id":24503973,"url":"https://github.com/sagdrip/cudarrows","last_synced_at":"2026-02-19T11:02:54.858Z","repository":{"id":272933071,"uuid":"910807657","full_name":"sagdrip/CUDArrows","owner":"sagdrip","description":"CUDA port of Logic Arrows","archived":false,"fork":false,"pushed_at":"2025-01-17T13:45:37.000Z","size":2529,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T20:23:16.946Z","etag":null,"topics":["cellular-automata","cuda","gpu-acceleration","logic-gates"],"latest_commit_sha":null,"homepage":"","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sagdrip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-01T13:47:32.000Z","updated_at":"2025-01-19T09:28:32.000Z","dependencies_parsed_at":"2025-01-17T14:54:56.497Z","dependency_job_id":"1e4ebfc5-41e1-456d-98c2-82de58e0a5cf","html_url":"https://github.com/sagdrip/CUDArrows","commit_stats":null,"previous_names":["sagdrip/cudarrows"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagdrip%2FCUDArrows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagdrip%2FCUDArrows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagdrip%2FCUDArrows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagdrip%2FCUDArrows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagdrip","download_url":"https://codeload.github.com/sagdrip/CUDArrows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837264,"owners_count":21169373,"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":["cellular-automata","cuda","gpu-acceleration","logic-gates"],"created_at":"2025-01-21T23:19:16.512Z","updated_at":"2026-02-19T11:02:53.793Z","avatar_url":"https://github.com/sagdrip.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"media/cudarrows-logo.png\"/\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ci\u003eCUDA port of \u003ca href=\"https://logic-arrows.io\"\u003eLogic Arrows\u003c/a\u003e\u003c/i\u003e\n    \u003chr\u003e\n\u003c/div\u003e\n\n## About\n\nCUDArrows is a port of online game [Logic Arrows](https://logic-arrows.io) created by [Onigiri](https://www.youtube.com/@OnigiriScience). It uses [NVIDIA® CUDA®](https://developer.nvidia.com/cuda-toolkit) to enable hardware acceleration of the cellular automaton. CUDA allows to perform computation of every arrow on the map in parallel. This maximizes the performance and theoretically provides the fastest speed that can be achieved.\n\n## Installing\n\nYou can either download [pre-built binaries](https://github.com/sagdrip/CUDArrows/releases) for your system or build from source.\n\n### Building from source\n\nClone this GitHub repository and use CMake to build the project:\n```bash\nmkdir build\ncd build\ncmake .. -DCMAKE_TOOLCHAIN_FILE=\"${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake\" -DCMAKE_BUILD_TYPE=Release\ncmake --build . --config=Release\ncmake --install . --prefix /path/to/cudarrows --strip\n```\n\n## Using\n\nCUDArrows is a GUI application, however it must be launched from the command line. You must specify map save code or URL as a CLI argument:\n```\ncudarrows AAABAAAAAAADBh4AABAAIABAAFAAUQACABIAIgBCAFIAVAAFARUBJQFVAAcAFwBnACgBCgAaAEoAWgArAWsBHQBNAF0AHgBeAAcOYABiAwQBJABEAUUCZQNHAUgCaAINAQ4CLgNOAm4DAgkRAWEBFAFkAScBWAEqAWoBLQFtAQgAVwE=\n```\n\n**CUDArrows is not an editor, it is only a player**. This means that you cannot modify the map in any way using CUDArrows. To load a different map, simply restart the app and specify the new save code.\n\n### Logging in\n\nLogic Arrows API doesn't permit unauthorized users to download map data. Because of that, you must first log in to load maps by URL.\n\n#### Using the CLI tool\n\nCUDArrows provide a CLI tool for your convinience:\n```\npy cudarrows-login.py\n```\nThis tool launches Chrome (or Firefox if you specify it in the `--browser` argument), waits until you log into Logic Arrows website using your Google account and then creates a `session.txt` file for you. Note that you must launch CUDArrows from the same directory you have launched `cudarrows-login` from, because CUDArrows look for `session.txt` file in the current working directory.\n\n#### Manually\n\nYou can also create `session.txt` manually. To do this, go to [Logic Arrows website](https://logic-arrows.io), open developer tools and copy your user agent and `accessToken` cookie. Then, create a `session.txt` file containing the UA in the first line and access token in the second line.\n\n### Configuring the runtime\n\nWhen you launch the app, you will see the game grid and the control panel. You can use it to pause/resume the game, perform single steps, configure the tick rate and resetting the map. It's similar to Logic Arrows controls, except it uses GUI window instead of keybinds.\n\n### Debugging\n\nYou can also open the `Debug` window to see debug information such as FPS and TPS, targetted arrow, etc. **Warning:** this panel might get deprecated, because it requires CUDArrows to perform additional actions on the GPU, which may or may not slow down the entire app. It will always be available in debug builds, which you can compile from source.\n\n## Contributing\n\nFeel free to open issues and pull requests or fork this repository! Logic Arrows have a very creative community, and that's one of the reasons I love this game. You can also contact me in [Telegram](https://t.me/sagdrip) directly or join the [Onigiri's official TG group](https://t.me/onigiriscichat) and chat there if you have come up with an optimization idea or if you have a suggestion.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagdrip%2Fcudarrows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagdrip%2Fcudarrows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagdrip%2Fcudarrows/lists"}