So what have I done so far on koding? Well, for starters, I finally got the turn number to increment, using the variable used in the for-loop. It used to look like this, with the incrementer (
turn_number += 1) being in the turn() function.if AI_choice == "1":
turn_number = 0
for i in range(1,10):
turn(turn_number, playing)
i, in the turn() function itself:if AI_choice == "1":
for i in range(1,10):
turn(i, playing)
I would post more this week, but on Friday I looked for more html stuff to make my website better. Specifically, I made it so the positioning of my code in the pre tag was centered, so that it looked nicer. Then, on an older post, number 15, I screwed around with the html until I centered the example of the tic-tac-toe board. I learned about html positioning, including absolute and relative positioning.
No comments:
Post a Comment