salif / cli-games

Games in the terminal
https://salif.github.io/cli-games/
MIT License
49 stars 32 forks source link

Add is stuck condition when nobody wins (JS) #61

Closed kharisisriyant closed 5 years ago

kharisisriyant commented 5 years ago

Add code to check condition if the board already full and nobody wins, then exit game.

Seniru commented 5 years ago

I forgot to add this sigh. Thanks for adding!!!

kharisisriyant commented 5 years ago

btw I found bug in my PR, the loop for isStuck() is flawed, also forgot to change the wording.. will fix it real quick.. sorry for my carelessness