<commit_before># chess
[![GoDoc](https://godoc.org/github.com/loganjspears/chess?status.svg)](https://godoc.org/github.com/loganjspears/chess)
[![Build Status](https://drone.io/github.com/loganjspears/chess/status.png)](https://drone.io/github.com/loganjspears/chess/latest)
[![Coverage Status](https://coveralls.io/repos/loganjspears/chess/badge.svg?branch=master&service=github)](https://coveralls.io/github/loganjspears/chess?branch=master)
[![Go Report Card](http://goreportcard.com/badge/loganjspears/chess)](http://goreportcard.com/badge/loganjspears/chess)

package chess is a go library designed to accomplish the following:
- chess game / turn management
- move validation
- PGN encoding / decoding
- FEN encoding / decoding

## Usage

Using Moves
```go
game := chess.NewGame()
moves := game.ValidMoves()
game.Move(moves[0])
```

Using Algebraic Notation
```go<commit_msg>changed goreportcard to use https on readme<commit_after># chess
[![GoDoc](https://godoc.org/github.com/loganjspears/chess?status.svg)](https://godoc.org/github.com/loganjspears/chess)
[![Build Status](https://drone.io/github.com/loganjspears/chess/status.png)](https://drone.io/github.com/loganjspears/chess/latest)
[![Coverage Status](https://coveralls.io/repos/loganjspears/chess/badge.svg?branch=master&service=github)](https://coveralls.io/github/loganjspears/chess?branch=master)
[![Go Report Card](https://goreportcard.com/badge/loganjspears/chess)](https://goreportcard.com/report/loganjspears/chess)

package chess is a go library designed to accomplish the following:
- chess game / turn management
- move validation
- PGN encoding / decoding
- FEN encoding / decoding

## Usage

Using Moves
```go
game := chess.NewGame()
moves := game.ValidMoves()
game.Move(moves[0])
```

Using Algebraic Notation
```go
{'fraction_non_alphanumeric': 0.1637883008356546, 'fraction_numerical': 0.0011142061281337048, 'mean_word_length': 5.828897338403042, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '996624', 'n_tokens_mistral': 668, 'n_tokens_neox': 633, 'n_words': 97}