Paradox1
Fully Optimized
- Messages
- 2,913
I am currently making a simple (or so it seemed before I began) Tic Tac Toe Program because we have no more assignments anymore lol My teacher ran out of curriculum for us
Anyways, I have it set up, you can play a game, if you get three in a row you win and all, but the only thing is... you can overwrite the other players selection. (P1 picks top left, top left becomes X; P2 then picks top left, top left becomes O)
My idea is set the variables unchangable after a certain number of changes, in this case 1 change (until a given situation resetting it{the end of the game})
I'll take any advice I can get to make it work, I've been doing this for fun for some time prety much out of boredom, If you have an idea different from mine I'd like to hear it.
Anyways, I have it set up, you can play a game, if you get three in a row you win and all, but the only thing is... you can overwrite the other players selection. (P1 picks top left, top left becomes X; P2 then picks top left, top left becomes O)
My idea is set the variables unchangable after a certain number of changes, in this case 1 change (until a given situation resetting it{the end of the game})
I'll take any advice I can get to make it work, I've been doing this for fun for some time prety much out of boredom, If you have an idea different from mine I'd like to hear it.