marcusbuffett / command-line-chess

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

Crash fix #26

Closed InnesGarmany closed 3 years ago

InnesGarmany commented 3 years ago

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

marcusbuffett commented 3 years ago

Makes sense to me, thanks for the contribution!