Added a win and loop condition
Basic player things done
Now to work on computer