BH792 / chess-ruby-ii

A simple browser-based chess game
MIT License
0 stars 0 forks source link

User must abide by Check rules #20

Open BH792 opened 7 years ago

BH792 commented 7 years ago

User cannot make a move that causes check on themself. If already in check, a user can only make a move that breaks check

BH792 commented 7 years ago

Added King#in_check? method which returns true of the King intance is in check