https://github.com/ckampfe/chess_ex
https://github.com/ckampfe/chess_ex
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ckampfe/chess_ex
- Owner: ckampfe
- License: bsd-3-clause
- Created: 2021-10-06T06:27:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T04:09:55.000Z (over 4 years ago)
- Last Synced: 2025-02-01T20:11:21.566Z (over 1 year ago)
- Language: Elixir
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chess
[](https://github.com/ckampfe/chess/actions/workflows/elixir.yml)
```
iex(65)> Chess.Board.default() |> Chess.Board.to_string() |> IO.puts
┌───────────────────────────────┐
│ ♜ │ ♞ │ ♝ │ ♛ │ ♚ │ ♝ │ ♞ │ ♜ │
│ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │ ♟ │
│ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │
│ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │
│ │ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │
│ ▀ │ │ ▀ │ │ ▀ │ │ ▀ │ │
│ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │
│ ♖ │ ♘ │ ♗ │ ♕ │ ♔ │ ♗ │ ♘ │ ♖ │
└───────────────────────────────┘
```
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `chess` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:chess, "~> 0.1.0"}
]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/chess](https://hexdocs.pm/chess).