enkg60 / chess.cpp

2 Player Chess written in C++ with (optional) nerd font functionality using ncurses. (color: https://github.com/ikalnytskyi/termcolor)
0 stars 0 forks source link

find and replace old in boundary statements with function #49

Open enkg60 opened 7 months ago

enkg60 commented 7 months ago

find if statements that checked for if in boundary (e.g if board[y][x] < 7...) and replace with the function "piece_in_boundaries"