{"id":17937834,"url":"https://github.com/sensuikan1973/pedax","last_synced_at":"2026-04-18T17:07:34.552Z","repository":{"id":36976533,"uuid":"333106194","full_name":"sensuikan1973/pedax","owner":"sensuikan1973","description":"Reversi Board desktop app, which has the strongest reversi engine edax.","archived":false,"fork":false,"pushed_at":"2026-04-18T12:57:02.000Z","size":37414,"stargazers_count":32,"open_issues_count":4,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-18T14:39:10.165Z","etag":null,"topics":["dart-ffi","docusaurus","edax","fastlane","ffi","flutter","flutter-desktop","isolate","linux","macos","othello","reversi","windows"],"latest_commit_sha":null,"homepage":"https://sensuikan1973.github.io/pedax/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sensuikan1973.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-26T14:14:32.000Z","updated_at":"2026-04-18T12:57:07.000Z","dependencies_parsed_at":"2024-03-08T02:43:08.708Z","dependency_job_id":"76d7d868-ae5f-4a8e-92d6-b1bb34a72321","html_url":"https://github.com/sensuikan1973/pedax","commit_stats":null,"previous_names":[],"tags_count":227,"template":false,"template_full_name":null,"purl":"pkg:github/sensuikan1973/pedax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensuikan1973%2Fpedax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensuikan1973%2Fpedax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensuikan1973%2Fpedax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensuikan1973%2Fpedax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensuikan1973","download_url":"https://codeload.github.com/sensuikan1973/pedax/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensuikan1973%2Fpedax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dart-ffi","docusaurus","edax","fastlane","ffi","flutter","flutter-desktop","isolate","linux","macos","othello","reversi","windows"],"created_at":"2024-10-28T23:07:59.319Z","updated_at":"2026-04-18T17:07:34.533Z","avatar_url":"https://github.com/sensuikan1973.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n\u003cimg src=\"https://github.com/sensuikan1973/pedax/blob/main/assets/images/pedax_logo.png?raw=true\" alt=\"pedax_logo\" height=\"35\"/\u003e\n\u003ca href=\"https://sensuikan1973.github.io/pedax/\"\u003epedax\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cimg align=\"left\" src=\"https://raw.githubusercontent.com/sensuikan1973/pedax/main/website/static/img/en/analysis_mode_board_view.png\" alt=\"screenshot_macos\" width=\"380\" hspace=\"10\"\u003e\n\u003cdiv\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cem\u003epedax\u003c/em\u003e is Reversi Board GUI with \u003ca href=\"https://github.com/sensuikan1973/edax-reversi\"\u003eedax\u003c/a\u003e, which is the strongest reversi engine.\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cem\u003epedax\u003c/em\u003e has 4 features.\n  \u003cul\u003e\n    \u003cli\u003e\n      \u003cb\u003eMac/Windows/Linux\u003c/b\u003e are supported. \u003ca href=\"https://sensuikan1973.github.io/pedax/\"\u003eYou can install from Mac App Store or Microsoft Store\u003c/a\u003e.\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003cb\u003eSeamlessly\u003c/b\u003e, you can see \u003ccode\u003eevaluation value\u003c/code\u003e, e.g. \u003ccode\u003e+4\u003c/code\u003e, \u003ccode\u003e-10\u003c/code\u003e.\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003cb\u003eCustomizable\u003c/b\u003e important options, e.g. \u003ccode\u003ebook file path\u003c/code\u003e, \u003ccode\u003esearch level\u003c/code\u003e, \u003ccode\u003eadvanced indicator\u003c/code\u003e.\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003cb\u003e2 languages (English, Japanese)\u003c/b\u003e are supported.\n    \u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/div\u003e\n\u003cbr clear=\"all\"\u003e\n\n## Development\n\n[![Flutter CI](https://github.com/sensuikan1973/pedax/actions/workflows/flutter_ci.yaml/badge.svg)](https://github.com/sensuikan1973/pedax/actions/workflows/flutter_ci.yaml)\n[![codecov](https://codecov.io/gh/sensuikan1973/pedax/branch/main/graph/badge.svg?token=DoMWFhOPN3)](https://codecov.io/gh/sensuikan1973/pedax)\n[![Flutter Build](https://github.com/sensuikan1973/pedax/actions/workflows/flutter_build.yaml/badge.svg)](https://github.com/sensuikan1973/pedax/actions/workflows/flutter_build.yaml)\n[![Flutter Deployment MacOS](https://github.com/sensuikan1973/pedax/actions/workflows/deploy_macos.yaml/badge.svg?event=release)](https://github.com/sensuikan1973/pedax/actions/workflows/deploy_macos.yaml)\n[![Deploy Website](https://github.com/sensuikan1973/pedax/actions/workflows/deploy_website.yaml/badge.svg)](https://github.com/sensuikan1973/pedax/actions/workflows/deploy_website.yaml)\n\n### Architecture\n\nThe technical point of pedax is as follows.\n\n- pedax needs to call _Expensive_ _Native(C)_ logic such as computing evaluation value.\n- _Native(C)_ logic needs allocated huge data on memory. It's desirable to daemonize _Native(C)_ process.\n\nSo, I use some [isolates](https://dart.dev/language/isolates) with ffi([libedax4dart](https://github.com/sensuikan1973/libedax4dart)) to achieve _seamless non-blocking_ UI.\n\n```mermaid\n%% https://mermaid-js.github.io/mermaid/#/sequenceDiagram\nsequenceDiagram\n  actor User\n  participant MainIsolate as Main Isolate\n  participant EdaxServer as Edax Server\n  participant EphemeralWorker as Ephemeral Worker\n  participant EdaxProcess as Edax Process [C]\n\n  link EdaxServer: source @ https://github.com/sensuikan1973/pedax/tree/main/lib/engine\n  link EdaxServer: caller @ https://github.com/sensuikan1973/pedax/blob/main/lib/models/board_notifier.dart\n  link EphemeralWorker: source @ https://github.com/sensuikan1973/pedax/tree/main/lib/engine\n  link EdaxProcess: binding source (Dart) @ https://github.com/sensuikan1973/libedax4dart\n  link EdaxProcess: origin source(C) @ https://github.com/sensuikan1973/edax-reversi/tree/libedax_sensuikan1973\n\n  User -\u003e\u003e MainIsolate: launch pedax\n  MainIsolate -\u003e\u003e EdaxServer: spawn and notify my SendPort\n  EdaxServer -\u003e\u003e MainIsolate: notify my SendPort\u003cbr/\u003eand start listening\n  EdaxServer -\u003e\u003e EdaxProcess: initialize via ffi\n\n  User -\u003e\u003e MainIsolate: action (e.g. tap)\n  MainIsolate -\u003e\u003e EdaxServer: request EdaxCommand\u003cbr/\u003evia SendPort\n\n  alt light EdaxCommand\n    EdaxServer -\u003e\u003e EdaxProcess: stop EdaxCommand being executed via ffi\n    EdaxServer -\u003e\u003e EdaxProcess: execute requested EdaxCommand via ffi\n    EdaxProcess -\u003e\u003e EdaxServer: return result\n    EdaxServer -\u003e\u003e MainIsolate: notify result via SenPort\n    MainIsolate -\u003e\u003e MainIsolate: update UI\n  else heavy EdaxCommand\n    note right of EdaxServer: spawn another isolate not to block EdaxServer.\u003cbr\u003eThen, EdaxServer can accept other requests.\n    EdaxServer -\u003e\u003e+ EphemeralWorker: spawn and notify Main Isolate SendPort\n    EphemeralWorker -\u003e\u003e EdaxProcess: stop EdaxCommand being executed via ffi\n    EphemeralWorker -\u003e\u003e EdaxProcess: execute requested EdaxCommand via ffi\n    note over EdaxProcess: heavy...\n    EdaxProcess -\u003e\u003e EphemeralWorker: return result\n    EphemeralWorker -\u003e\u003e- MainIsolate: notify result via SenPort\n    MainIsolate -\u003e\u003e MainIsolate: update UI\n  end\n```\n\n### Run\n\n```sh\n./scripts/setup_flutter.sh\nflutter run --device-id macos --dart-define \"SENTRY_DSN=xxx\" # env is optional\n```\n\n### References\n- [`important` issues](https://github.com/sensuikan1973/pedax/issues?q=label%3Aimportant+sort%3Acreated-desc)\n- https://dart.dev/language/concurrency\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensuikan1973%2Fpedax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensuikan1973%2Fpedax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensuikan1973%2Fpedax/lists"}