{"id":21340034,"url":"https://github.com/imandra-ai/reasonml-tic-tac-toe","last_synced_at":"2025-07-12T14:32:55.761Z","repository":{"id":43989920,"uuid":"146778516","full_name":"imandra-ai/reasonml-tic-tac-toe","owner":"imandra-ai","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-07T15:01:16.000Z","size":3065,"stargazers_count":19,"open_issues_count":10,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-04-09T15:30:02.494Z","etag":null,"topics":["formal-methods","formal-verification","imandra","ocaml","react","reasonml"],"latest_commit_sha":null,"homepage":"https://www.imandra.ai","language":"Reason","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/imandra-ai.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}},"created_at":"2018-08-30T16:43:49.000Z","updated_at":"2024-04-09T15:30:02.494Z","dependencies_parsed_at":"2023-02-07T11:46:25.694Z","dependency_job_id":null,"html_url":"https://github.com/imandra-ai/reasonml-tic-tac-toe","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/imandra-ai%2Freasonml-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imandra-ai%2Freasonml-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imandra-ai%2Freasonml-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imandra-ai%2Freasonml-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imandra-ai","download_url":"https://codeload.github.com/imandra-ai/reasonml-tic-tac-toe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225824980,"owners_count":17529905,"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":["formal-methods","formal-verification","imandra","ocaml","react","reasonml"],"created_at":"2024-11-22T00:48:52.019Z","updated_at":"2024-11-22T00:48:52.655Z","avatar_url":"https://github.com/imandra-ai.png","language":"Reason","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReasonML Tic Tac Toe with Imandra\n\n![Imandra](img/imandra_raas_logo.svg \"Imandra\")\n\nThis repo contains a ReasonReact app containing a game of Tic Tac Toe. The core logic of the game has been checked with some verification statements using [Imandra](https://www.imandra.ai).\n\nSee https://docs.imandra.ai/imandra-docs/notebooks/reasonml-tic-tac-toe/ for a walk through of the model, and explanation of the `verify` and `instance` comments throughout the file `src/TicTacToeLogic.re`.\n\nSee https://docs.imandra.ai/reasonml-tic-tac-toe/ for the built example.\n\n## Run Project\n\nYou'll need a docker image with `imandra-extract` in it pre-pulled to convert the Imandra source file `src/TicTacToeLogic.ire` to regular OCaml so it can be compiled with bucklescript (the conversion is done using bucklescript generators, see `bsconfig.json`):\n\n```sh\ndocker pull imandra/imandra-client-switch\n```\n\n```sh\nnpm install\nnpm start\n# in another tab\nnpm run parcel\n```\n\nThen visit http://localhost:1234/index.html or http://localhost:1234/index-initial.html for the version of the model that contains the deliberate bug.\n\n## Build for Production\n\n```sh\nnpm run build\nnpm run parcel:production\n```\n\nThis will replace the development artifact with an optimized version.\n\nTo deploy:\n\n```sh\nnpm run deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimandra-ai%2Freasonml-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimandra-ai%2Freasonml-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimandra-ai%2Freasonml-tic-tac-toe/lists"}