Splitting into three files
Split the win condition logic into a separate function
Remove header comment
Allow winning on your last shot