{"id":22406577,"url":"https://github.com/adityjhaa/havannah","last_synced_at":"2025-03-27T01:40:45.589Z","repository":{"id":265984841,"uuid":"853680676","full_name":"adityjhaa/havannah","owner":"adityjhaa","description":"GamePlaying AI for Havannah","archived":false,"fork":false,"pushed_at":"2024-12-01T22:51:07.000Z","size":289,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T07:19:32.852Z","etag":null,"topics":[],"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/adityjhaa.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":"2024-09-07T08:18:45.000Z","updated_at":"2024-12-01T22:51:11.000Z","dependencies_parsed_at":"2024-12-01T23:40:04.962Z","dependency_job_id":null,"html_url":"https://github.com/adityjhaa/havannah","commit_stats":null,"previous_names":["adityjhaa/havannah"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityjhaa%2Fhavannah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityjhaa%2Fhavannah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityjhaa%2Fhavannah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityjhaa%2Fhavannah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adityjhaa","download_url":"https://codeload.github.com/adityjhaa/havannah/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767193,"owners_count":20668822,"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-12-05T11:09:02.103Z","updated_at":"2025-03-27T01:40:45.574Z","avatar_url":"https://github.com/adityjhaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Havannah Playing Agent\n\nThis project implements a **game-playing AI agent** for the board game *Havannah*.\n\n---\n\n## 🎯 **About Havannah**  \nHavannah is a two-player abstract strategy game invented by Christian Freeling. Players take turns placing their stones on hexagonal cells of a board, aiming to achieve one of the following winning conditions:  \n1. **Ring**: Form a loop of stones enclosing one or more cells.  \n2. **Bridge**: Connect any two corners of the board.  \n3. **Fork**: Connect any three edges of the board.  \n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/Bridge_Fork_Ring.png\" /\u003e\n\u003c/p\u003e\n\n---\n\n## 🚀 **Features**  \n- **Smart Decision Making**: Implements search algorithms MCTS with RAVE and UCB to optimize move selection.  \n- **Heuristic Evaluation**: A custom evaluation function assesses board positions to enhance decision quality.  \n- **Scalability**: Supports various board sizes, from beginner-friendly small boards to full-size competitive ones.  \n- **Interactive Play**: Play against the AI in a dynamic interface or simulate AI vs. AI matches to observe its strategic prowess.  \n\n---\n\n## 📖 **Setup**\n\nHave a look at the [setup file](setup.md) for detailed instructions on setting up the environment and usage. \n\n---\n\n## 🎮 **Future Enhancements**  \n- **Machine Learning Integration**: Train the AI using reinforcement learning to improve over time.  \n- **Dynamic Heuristics**: Adapt heuristics based on player behavior for more challenging games.  \n\n---\n\n## 📄 **License**  \nThis project is licensed under MIT; look at the [LICENSE](LICENSE) file for details.  \n\n---\n\n## 💡 **Acknowledgments**  \nThis work was completed as part of COL333 Assignment 2 at IIT Delhi, exploring search algorithms for game-playing agents under academic supervision.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityjhaa%2Fhavannah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityjhaa%2Fhavannah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityjhaa%2Fhavannah/lists"}