GitXplorerGitXplorer
r

chess

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
eff93ebbf2def93d84d22f1bc2da582dc1902111

Add pawn and basic pawn move rules.

rrzilleruelo committed 11 years ago
Unverified
a6e1593b552654c075de72a7ffa09220e6fb2e93

Add knight

rrzilleruelo committed 11 years ago
Unverified
d0bcf9f60786c50941d8858f44819274fd1d9216

Add bishop

rrzilleruelo committed 11 years ago
Unverified
3b66fd5174df764c54022a964b650b796fd1e79f

Add Rook chessmen

rrzilleruelo committed 11 years ago
Unverified
b57ac4058e62977e21093bcc2701cdfe6445de98

Update readme

rrzilleruelo committed 11 years ago
Unverified
55474957df12bec58b5f4e04c8d37d91c1183fb7

Add chessboard, chess rules and Queen chess men.

rrzilleruelo committed 11 years ago

README

The README file for this repository.

chess

Install

###PhantomJS On mac, install using brew.

brew install phantomjs

Compile, test and Package the code

mvn clean package

Games download

The games can be downloaded in two steps. First building the list of all games. To do execute the following script. For example:

phantomjs src/main/js/chess_tempo/get_index.js \
	data/chess_tempo_index_20140101.jsons

. Second, downloading the games from the built index. The index can be downloaded inparallel by running multiples instances of the script, indicating the index and the number of scripts to be executed.

for i in {1..10}; do
	phantomjs src/main/js/chess_tempo/games_retriever.js \
		data/chess_tempo_index_20140101.jsons \
		$i \
		10 \
		data/games_20140101_$i.jsons&
done

####Sample crawled data

Todo