Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wandererxii/scalashogi

Shogi API written in scala. Immutable and free of side effects.
https://github.com/wandererxii/scalashogi

scala shogi

Last synced: about 2 months ago
JSON representation

Shogi API written in scala. Immutable and free of side effects.

Awesome Lists containing this project

README

        

[![Continuous Integration](https://github.com/WandererXII/scalashogi/actions/workflows/ci.yml/badge.svg)](https://github.com/WandererXII/scalashogi/actions/workflows/ci.yml)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.WandererXII/scalashogi_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.WandererXII%22%20AND%20a:%22scalashogi_2.13%22)

Shogi API forked from [scalachess](https://github.com/lichess-org/scalachess) and rewritten for shogi.
Used on [lishogi.org](https://lishogi.org).

It is entirely functional, immutable, and free of side effects.

## INSTALL

Clone scalashogi

git clone git://github.com/WandererXII/scalashogi

Get latest sbt on http://www.scala-sbt.org/download.html

Start sbt in scalashogi directory

sbt

In the sbt shell, to compile scalashogi, run

compile

To run the tests:

test

### Code formatting

This repository uses [scalafmt](https://scalameta.org/scalafmt/).

Please [install it for your code editor](https://scalameta.org/scalafmt/docs/installation.html)
if you're going to contribute to this project.

If you don't install it, please run `scalafmtAll` in the sbt console before committing.