Sha256: e78a45f959b06e0f725cb1c96985e2c9ca1416233e9afbdd41e441d187aebc34
Contents?: true
Size: 667 Bytes
Versions: 11
Compression:
Stored size: 667 Bytes
Contents
/* * chess - a fast library to play chess in Ruby * * Copyright (c) 2011-2012, Enrico Pilotto <enrico@megiston.it> * This code is under LICENSE LGPLv3 */ #ifndef SPECIAL_H #define SPECIAL_H #include "common.h" #include "board.h" void update_castling (Board *board, int from); int castling_type (Board *board, int from, int to); char* castling (Board *board, int castling_type, Board *new_board); void update_en_passant (Board *board, int from, int to); int have_en_passant (Board *board, int from, int to); int have_en_passant2 (Board *board, int to); bool require_a_promotion (Board *board); bool promote (Board *board, int square, char promote_in); #endif
Version data entries
11 entries across 11 versions & 1 rubygems