marcusbuffett / command-line-chess

A python program to play chess against an AI in the terminal.
MIT License
496 stars 156 forks source link

Crash fix #26

Closed InnesGarmany closed 2 years ago

InnesGarmany commented 2 years ago

Inputting 0 for AI depth caused a crash, so I fixed it :) I did so by adding some input validation.

marcusbuffett commented 2 years ago

Makes sense to me, thanks for the contribution!