first pass using jsfiddle.net solution
Modified to move the second player to the server.
Block the human from winning.