{"id":23301515,"url":"https://github.com/memo1918/breakthrough-board-game","last_synced_at":"2025-04-06T22:19:03.403Z","repository":{"id":159684429,"uuid":"622492105","full_name":"memo1918/Breakthrough-board-game","owner":"memo1918","description":"It is Breakthrough board game made with pygame python.  Game has basic AI to play with it. Player can choose to start first or second.","archived":false,"fork":false,"pushed_at":"2024-12-15T10:48:38.000Z","size":86,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"Main","last_synced_at":"2025-02-13T04:30:24.550Z","etag":null,"topics":["ai","ai-opponent","breakthrough-game","game","pure-python","pygame","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memo1918.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":"2023-04-02T09:25:54.000Z","updated_at":"2025-02-08T12:17:04.000Z","dependencies_parsed_at":"2025-02-15T23:31:20.415Z","dependency_job_id":null,"html_url":"https://github.com/memo1918/Breakthrough-board-game","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FBreakthrough-board-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FBreakthrough-board-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FBreakthrough-board-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FBreakthrough-board-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memo1918","download_url":"https://codeload.github.com/memo1918/Breakthrough-board-game/tar.gz/refs/heads/Main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557896,"owners_count":20958069,"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":["ai","ai-opponent","breakthrough-game","game","pure-python","pygame","python"],"created_at":"2024-12-20T10:13:47.204Z","updated_at":"2025-04-06T22:19:03.397Z","avatar_url":"https://github.com/memo1918.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Breakthrough Board Game\n\nIt is Breakthrough board game made with pygame python.\n\nGame has basic AI to play with it. Player can choose to start first or second.\n## Important notice\nThe file \"Button.py\" is taken from user [@baraltech](https://github.com/baraltech) repository [Menu-System-PyGame](https://github.com/baraltech/Menu-System-PyGame).\nHe also has a video talking about how it works [here](https://www.youtube.com/watch?v=GMBqjxcKogA\u0026t=177s).\n\n## Game rules\nEach player moves one piece per turn.\n\nIf the target position is empty, a piece can be moved one space forward or diagonally forward. A piece may be also moved to a square occupied by an enemy piece, if the target position is one space diagonally forward.\n\nThe game ends if one player reaches opponent's home row.\n\n## How to run from executable\n- Go to [release page](https://github.com/memo1918/Breakthrough-board-game/releases)\n- Download the latest .zip (not the source code).\n- extract the zip and run the .exe\n\nNote: Windows might see the .exe file as a virus. This is beacuse it is not signed. If you don't want to turn off your firewall or simply trust, you can run from the source.\n\n## How to run from source\n- Download the code from the top right corner of github. Code -\u003e Download ZIP\n- Install python 3.11.0 if you don't have it already. [Download link](https://www.python.org/downloads/release/python-3110/) (I haven't test with other versions)\n- Install pygame module. You can do it by running the command below on a terminal.\n```cmd\npip install pygame\n```\n- Run Main.py\n```cmd\npython Main.py\n```\nNote: Make sure file structure look like this\n\n    ├── Classes                      \n    │   ├── Computer.py\n    │   ├── Button.py\n    │   ├── Board.py\n    │   ├── Square.py     \n    │   └── Piece.py        \n    └── Main.py\n    \n#### Optional arguments when running\n- ```-s | --size```: Changes the board size (defualt: 6)\n- ```-r | --resolution```: Changes the resolution,widht and height, of the game screen (defualt: 720)\n- ```-d | --depth```: Changes the algorithms search depth (defualt: 3)\n\nExample\n```cmd\npython Main.py -s 6 -r 720 -d 3\n```\nor if you have the executable\n```cmd\nBreakthrough.exe -s 6 -r 720 -d 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo1918%2Fbreakthrough-board-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemo1918%2Fbreakthrough-board-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo1918%2Fbreakthrough-board-game/lists"}