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

https://github.com/jroliveira/chess

Chess (game)(♟) built in C# and ASCII art.
https://github.com/jroliveira/chess

ascii-art cake-build chess console-application csharp dotnet-core dotnet-standard game orleans paket reactive-programming

Last synced: 2 months ago
JSON representation

Chess (game)(♟) built in C# and ASCII art.

Awesome Lists containing this project

README

          

![Chess - Logo](./docs/images/logo.v2.png)

# Chess

[![Build status](https://ci.appveyor.com/api/projects/status/h516hk65yj3fmypr/branch/master?svg=true)](https://ci.appveyor.com/project/junioro/chess/branch/master)
[![Build Status](https://travis-ci.org/jroliveira/chess.svg?branch=master)](https://travis-ci.org/jroliveira/chess)
[![Coverage Status](https://coveralls.io/repos/jroliveira/chess/badge.svg?branch=master&service=github)](https://coveralls.io/github/jroliveira/chess?branch=master)
[![CodeFactor](https://www.codefactor.io/repository/github/jroliveira/chess/badge)](https://www.codefactor.io/repository/github/jroliveira/chess)
[![License: MIT](http://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Chess game built in C# and ASCII art.

## Developing

### Built With

- [.NET Core](https://docs.microsoft.com/en-us/dotnet/core/)
- [C#](https://docs.microsoft.com/en-us/dotnet/csharp/)
- [Orleans](https://github.com/dotnet/orleans)
- [Paket](https://fsprojects.github.io/Paket/index.html)

### Pre requisites

Download and install:

- [.NET Core SDK](https://www.microsoft.com/net/download)
- [Node.js](https://nodejs.org/en/download/)

#### Installing the DejaVu Sans Mono font in Windows 10

This font allows you to display the chess pieces in the Windows console, to install we will follow the steps below:

- Download the **dejavu-fonts-ttf-2.37.zip** from the site [dejavu-fonts.org](https://dejavu-fonts.github.io/Download.html).
- Extract the downloaded .zip file and install the **DejaVuSansMono.ttf** font that is in the **ttf** folder.
- Open **regedit** go to `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont`.
- Add a new **String Value** `000` with the value `DejaVu Sans Mono`.

### Setting up Dev

```bash
# Clone this repository
$ git clone https://github.com/jroliveira/chess.git

# Go into the repository
$ cd chess

# Download node packages and install Cake
$ npm install
```

### Building

```bash
$ dotnet cake
```

### Running

```bash
$ dotnet cake --target=Start
```

## Licensing

The code is available under the [MIT license](LICENSE.txt).