beaucarnes / fcc-project-tutorials

freeCodeCamp video project tutorials.
296 stars 416 forks source link

minor scoring changes #3

Closed NickyMeuleman closed 7 years ago

NickyMeuleman commented 7 years ago

Changed the first if statement inside the minimax function to check for wins of huPlayer instead of the player passed in to the function. Changed score if the aiPlayer wins to 10 instead of 20. As said in the video, this doesn't affect functionality. Other changes are whitespace changes made automatically by my text-editor.