chess_engine 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/chess_engine-0.0.1.gem +0 -0
- data/chess_engine.gemspec +2 -2
- metadata +4 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ce9e57c81c5d6486c921e358224dc3747cccbf9bcb79ad48c0ce0413dc9d161
|
4
|
+
data.tar.gz: c910382f1cf2ecc3d504c2f4d1dd9a32fb4e6582965073e17d3cf539917e349f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d372204950a0da673fe45ec2e7f88e51ebc02e4a519d7a9dff89162a8d2d56f62a036efb59e54989a654be46c215ac4f8e535a022691dda0d05939691fe12b00
|
7
|
+
data.tar.gz: c9478c2dee79cdc1c9789058ab15f601ed134e7ad5deb3ccf5bce3e4b8db4a35bd1ba5d0ebe627a3d627184b0911fd4fd3dc0c929097423212f436f920be1fc4
|
Binary file
|
data/chess_engine.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "chess_engine"
|
3
3
|
s.summary = "Simple chess library that uses algebraic notation"
|
4
|
-
s.description =
|
5
|
-
s.version = "0.0.
|
4
|
+
s.description = "This library provides all the rules of the chess game. Also it provides a command line interface with serialization features available in the cli.rb file"
|
5
|
+
s.version = "0.0.2"
|
6
6
|
s.author = "Anikeev Gennadiy"
|
7
7
|
s.email = "genaydzhan70@gmail.com"
|
8
8
|
s.homepage = "https://github.com/anikeef/chess"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chess_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anikeev Gennadiy
|
@@ -10,33 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
|
15
|
-
This is my final Ruby project before moving to Rails framework. In this PvP game I've tried to apply all the stuff I have learned to this moment.
|
16
|
-
|
17
|
-
### Features:
|
18
|
-
* It works
|
19
|
-
* You can make all the legal moves, including:
|
20
|
-
* Castling
|
21
|
-
* En passant
|
22
|
-
* Pawn promotion
|
23
|
-
* The game detects and declares:
|
24
|
-
* Check
|
25
|
-
* Checkmate
|
26
|
-
* Stalemate
|
27
|
-
* You can quit and save the game at almost every moment
|
28
|
-
|
29
|
-
## How to start
|
30
|
-
Here are the steps you need to make to play this game:
|
31
|
-
1. Make sure that Ruby is installed on your machine
|
32
|
-
2. Go to the main directory of the project
|
33
|
-
3. Type `ruby lib/chess/cli.rb` in your command line
|
34
|
-
|
35
|
-
## How to play
|
36
|
-
* Trivial moves are made by typing in something like "e2e4" or `e3 f5` or even ` a 1 b 3 ` (whitespace doesn't matter)
|
37
|
-
* Short castling is done by typing in `00`, `oo` or `OO`
|
38
|
-
* Long castling is done by typing in `000`, `ooo` or `OOO`
|
39
|
-
* To quit the game, type in "exit". You will be asked to save the game
|
13
|
+
description: This library provides all the rules of the chess game. Also it provides
|
14
|
+
a command line interface with serialization features available in the cli.rb file
|
40
15
|
email: genaydzhan70@gmail.com
|
41
16
|
executables: []
|
42
17
|
extensions: []
|
@@ -45,6 +20,7 @@ files:
|
|
45
20
|
- Gemfile
|
46
21
|
- Gemfile.lock
|
47
22
|
- README.md
|
23
|
+
- chess_engine-0.0.1.gem
|
48
24
|
- chess_engine.gemspec
|
49
25
|
- lib/chess_engine.rb
|
50
26
|
- lib/chess_engine/board.rb
|