aboutsummaryrefslogtreecommitdiff
path: root/src/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/board.c')
-rw-r--r--src/board.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/board.c b/src/board.c
index d88c1ee..c5c4eb2 100644
--- a/src/board.c
+++ b/src/board.c
@@ -2,7 +2,7 @@
#include <string.h>
#include "board.h"
-Board parse_FEN(char* FEN) {
+Board parseFEN(char* FEN) {
Board board;
for (int i = 0; i < 12; i++) board.pieces[i] = 0;
@@ -65,7 +65,7 @@ Board parse_FEN(char* FEN) {
}
-void print_board(Board board) {
+void printBoard(Board board) {
printf("\n");
for (int rank = 7; rank >= 0; rank--) {
printf("%i|", rank + 1);
@@ -89,7 +89,7 @@ void print_board(Board board) {
printf(" a b c d e f g h\n");
}
-void precompute_knight_attack_table(Bitboard attacks[64]) {
+void precomputeKnightAttackTable(Bitboard attacks[64]) {
for (int index = 0; index < 64; index++) {
U64 position = BIT << index;
@@ -105,7 +105,7 @@ void precompute_knight_attack_table(Bitboard attacks[64]) {
}
}
-void precompute_king_attack_table(Bitboard attacks[64]) {
+void precomputeKingAttackTable(Bitboard attacks[64]) {
for (int index = 0; index < 64; index++) {
U64 position = BIT << index;
@@ -116,7 +116,7 @@ void precompute_king_attack_table(Bitboard attacks[64]) {
}
}
-void precompute_pawn_attack_table(Bitboard attacks[64], BYTE color) {
+void precomputePawnAttackTable(Bitboard attacks[64], BYTE color) {
for (int index = 0; index < 64; index++) {
U64 position = BIT << index;