Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alcalyn/mohex-api
Rest API to calculate Hex moves using Mohex AI.
https://github.com/alcalyn/mohex-api
Last synced: 4 days ago
JSON representation
Rest API to calculate Hex moves using Mohex AI.
- Host: GitHub
- URL: https://github.com/alcalyn/mohex-api
- Owner: alcalyn
- License: agpl-3.0
- Created: 2023-10-28T22:23:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T20:52:34.000Z (about 1 year ago)
- Last Synced: 2024-10-11T13:12:30.760Z (28 days ago)
- Language: TypeScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mohex API
Rest API to calculate Hex moves using Mohex AI.
Mohex binary source from .
## Develop
Install project with:
``` bash
make install
```Start project with:
``` bash
make
```Mohex API is available at .
## API
- Calculate next move:
```
POST /api/calculate-move{
"size": 11,
"movesHistory": "d5 c7",
"currentColor": "white"
}---
# Response:b9
```- Get license:
```
GET /api/license---
# Response:MoHex 2.0.CMake Oct 26 2023
Copyright (C) 2007-2010 by the authors of the Benzene project.
See http://benzene.sourceforge.net for information about benzene.
Benzene comes with NO WARRANTY to the extent permitted by law.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation - version 3. For more
information about these matters, see the files COPYING and COPYING.LESSER.
```