{"id":15225220,"url":"https://github.com/venil7/reason-chess","last_synced_at":"2025-04-09T19:09:39.402Z","repository":{"id":139259980,"uuid":"122753155","full_name":"venil7/reason-chess","owner":"venil7","description":"chess library in reason for cross platform game dev","archived":false,"fork":false,"pushed_at":"2018-03-30T13:55:49.000Z","size":1046,"stargazers_count":23,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T19:09:29.440Z","etag":null,"topics":["alpha-beta-pruning","chess-engine","game-development","game-engine","minimax","ocaml","reasonml"],"latest_commit_sha":null,"homepage":"http://darkruby.co.uk/reason-chess/","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venil7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-24T15:36:06.000Z","updated_at":"2024-04-20T17:22:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d212a822-6c60-4b36-b3aa-87bd9f5acd15","html_url":"https://github.com/venil7/reason-chess","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/venil7%2Freason-chess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venil7%2Freason-chess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venil7%2Freason-chess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venil7%2Freason-chess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venil7","download_url":"https://codeload.github.com/venil7/reason-chess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094993,"owners_count":21046770,"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":["alpha-beta-pruning","chess-engine","game-development","game-engine","minimax","ocaml","reasonml"],"created_at":"2024-09-28T18:05:12.020Z","updated_at":"2025-04-09T19:09:39.376Z","avatar_url":"https://github.com/venil7.png","language":"OCaml","funding_links":[],"categories":["Reason"],"sub_categories":["Example Apps"],"readme":"# reason-chess\n\n## Build\n[![Build Status](https://travis-ci.org/venil7/reason-chess.svg?branch=master)](https://travis-ci.org/venil7/reason-chess)\n\n`reason-chess` is a chess engine for `ReasonML`. Use it for game development, chess analysis tools, etc in the browser, nodejs, native or in the mobile application. Engine features include:\n - minimax algorithm with variable depth tree evaluation\n - alphabeta pruning for faster evaluation\n - hints for possible moves\n - switching sides\n - full move history\n - full capture history\n - time travel and undo\n - almost 100% unit test converage\n\nBrowse [Example source](./example/) or try it in the [browser](http://darkruby.co.uk/reason-chess/)\n\n*example gameplay*\n\n![chess-gameplay](https://user-images.githubusercontent.com/508022/38139938-8d1b91ec-3429-11e8-8959-f3159714ea11.gif)\n\n\n## build locally\n```\nnpm run build\n```\n\n## Install\n```\nnpm install reason-chess --save\n```\n### Update `bsconfig.json`\n```\n...\n\"bs-dependencies\": [\n    \"reason-chess\"\n]\n...\n```\n\n## Run [Example](./example/)\n```\ncd example\nnpm install\nnpm start\n```\n\n\n## Run Tests\n\n```\nnpm run test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenil7%2Freason-chess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenil7%2Freason-chess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenil7%2Freason-chess/lists"}