It's not a functioning game? I was clicking the x's and o's for half an hour trying to get them to change!

Well no one here is going to give you code. However we are more than willing to help you...