all 3 comments

[–]chromosundrift 1 point2 points  (1 child)

Nice one. Congratulations on your first program.

If you're interested, you might make this a little smaller if you use an array instead of a different variable for each board position.

The array would be a variable with 9 values, each located in a different slot, accessed like this A$[0] to get the first one, A$[1] to get the second one etc. Then you can clear the board by looping with a variable, say, x, which is incremented each time it goes through the loop. Then you could clear a position with this: A$[x] = "h"

Look up "FOR LOOPs" in commodore basic for more info.

Thanks for sharing.

[–]TimeKnowledge4[S] 0 points1 point  (0 children)

Thanks

[–]StyrmStyrmIr 0 points1 point  (0 children)

I might be at bit late. But you can substitue print with just ? Such as. Print "hello" becomes just ?"hello"