{"id":25345553,"url":"https://github.com/salekinsirajus/breakthrough","last_synced_at":"2025-04-08T16:14:44.749Z","repository":{"id":95759867,"uuid":"121187304","full_name":"salekinsirajus/breakthrough","owner":"salekinsirajus","description":"Breakthrough game, playing with an AI agent","archived":false,"fork":false,"pushed_at":"2018-03-02T18:15:13.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T12:42:36.404Z","etag":null,"topics":["adversarial-search","artificial-intelligence","breakthrough","breakthrough-game","python"],"latest_commit_sha":null,"homepage":null,"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/salekinsirajus.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":"2018-02-12T01:47:42.000Z","updated_at":"2018-02-24T08:04:36.000Z","dependencies_parsed_at":"2023-03-13T16:47:01.614Z","dependency_job_id":null,"html_url":"https://github.com/salekinsirajus/breakthrough","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salekinsirajus%2Fbreakthrough","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salekinsirajus%2Fbreakthrough/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salekinsirajus%2Fbreakthrough/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salekinsirajus%2Fbreakthrough/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salekinsirajus","download_url":"https://codeload.github.com/salekinsirajus/breakthrough/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878018,"owners_count":21011158,"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":["adversarial-search","artificial-intelligence","breakthrough","breakthrough-game","python"],"created_at":"2025-02-14T12:37:28.639Z","updated_at":"2025-04-08T16:14:44.744Z","avatar_url":"https://github.com/salekinsirajus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Breakthrough\nBreakthrough game, AI agents playing.\n\n# Contributors\nAli Shahram Musavi, Swomma Roy and Sirajus Salekin\n\n# How To Play\n 1. Make sure you have `python 3` installed.\n 2. Run `python game.py` and follow the instructions.\n 3. If you want to play with Evasive and House Lannister, type `1 3` when\nprompted\n    1. Evasive\n    2. Conquerer\n    3. House Lannister\n    4. House Stark\n 4. After choosing the opponents, you need to choose the board you want\nto play on. For example, if you want to play on a (3x3, 1) board, Enter\n`3 3 1`, respectively. \n\n# Unit Testing\nSimply run the `testTransition.py` file:\n\n```python testTransition.py```\n\n# Progress\n* Finished implementing `Board` Class methods\n\n    * `get_moves(position)`\n    * `is_valid(source, destination)`\n    * `get_sym(position)`\n    * `get_direction(position)`\n    * Integrated `display_state()`\n    * Integrated `terminal_state()`\n    * Add `self.turn` to the `Board` and check before moving \n      any piece to ensure the integrity of the game\n    * Implement `move_generator(player)` method that will provide\n      all the moves for a particular player\n\n* Test coverage for finished methods\n    \n    - [x] `get_moves(position)`\n    - [x] `is_valid(source, destination)`\n    - [x] `all_moves(player)`\n    - [x] `move(position, direction)`\n    - [ ] `get_sym(position)`\n    - [ ] `get_direction(position)`\n    - [ ] `display_state()`\n    - [ ] `terminal_state()`\n\n# ToDo \n- [x] Finish implementing the `Agent` class\n- [x] Decide whether to implement a function or class for `Game`\n- [x] Finish `minimax` tree\n- [x] Implement `conquerer` and 2 more utility functions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalekinsirajus%2Fbreakthrough","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalekinsirajus%2Fbreakthrough","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalekinsirajus%2Fbreakthrough/lists"}