{"id":23828804,"url":"https://github.com/ssoudan/hschess","last_synced_at":"2025-02-22T02:41:46.352Z","repository":{"id":16427575,"uuid":"19178914","full_name":"ssoudan/hsChess","owner":"ssoudan","description":"A minimax-based chess AI with a GUI in FRP.","archived":false,"fork":false,"pushed_at":"2015-11-03T17:16:08.000Z","size":1116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T13:36:52.374Z","etag":null,"topics":["chess","haskell","minimax","reactive-programming"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssoudan.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}},"created_at":"2014-04-26T14:10:07.000Z","updated_at":"2019-07-01T23:32:39.000Z","dependencies_parsed_at":"2022-09-02T17:08:44.741Z","dependency_job_id":null,"html_url":"https://github.com/ssoudan/hsChess","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/ssoudan%2FhsChess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssoudan%2FhsChess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssoudan%2FhsChess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssoudan%2FhsChess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssoudan","download_url":"https://codeload.github.com/ssoudan/hsChess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240118330,"owners_count":19750471,"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":["chess","haskell","minimax","reactive-programming"],"created_at":"2025-01-02T13:36:55.722Z","updated_at":"2025-02-22T02:41:46.332Z","avatar_url":"https://github.com/ssoudan.png","language":"Haskell","readme":"hsChess\n=======\n\n@ssoudan\n\nThis is a basic implementation of a chess playing program in Haskell.\n\n# Description\n\n- based on a minimax with Alpha-Beta pruning AI\n- UI is in reactive-banana-wx\n\n# Build instructions\n\nYou'll need to install reactive-banana-wx and wxhaskell. Once that is done, cabal build will do the rest and build a Mac OSX app in dist/build/hsChess.app/ with all the dependencies included.\n\n# TODO\n\n- [x] add manual strategy\n- [x] improve UX\n- [x] Mac packaging\n- [x] store the history in the State rather than the latest state (using DList)\n- [x] add castling moves\n- [x] web UI or GUI\n- [x] check detection and move selection\n- [x] mate detection\n- [x] show possible moves\n- [x] parallelize the evaluation of the options\n- [x] async computation of moves and push notification on completion\n- [x] enter moves with DnD\n- [ ] split the current turn into each player turn so we can show the move of real player more quickly and pave the way to PvP\n- [ ] show when the soft is busy computing a move and disable interactions\n- [ ] stalemate detection\n- [ ] test moves (shows best response moves of each player up to the horizon for a given option)\n- [ ] non-linear game history with bookmarks\n- [ ] pawn conversion\n- [ ] save/restore games\n- [ ] start from predefined states\n- [ ] gamification: Achievements to learn chess\n\n# License \n\nThis program is distributed under APLv2. Check the LICENSE file for more details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssoudan%2Fhschess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssoudan%2Fhschess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssoudan%2Fhschess/lists"}