> Quite BASIC
>
Welcome to the clubhouse!
User login
Username:
*
Password:
*
Create new account
Request new password
Navigation
Quite BASIC
Blog
Projects
Help
Forums
TIC TAC TOE VERSION 2
Posted
November 2nd, 2008
by
pine
Your vote:
Current rating:
1
2
3
4
5
Category
Description
Work in Progress
>> See More projects by pine
Level
>> Open this project at the main Quite BASIC Page
5 REM create map. 10 LET a="a" 20 LET b="b" 30 LET c="c" 40 LET d="d" 50 LET e="e" 60 LET f="f" 70 LET g="g" 80 LET h="h" 90 LET i="i" 99 REM print map. 100 print a;b;c 120 print d;e;f 130 print g;h;i 131 print " ------------ " 133 REM choose oʻs movement 140 INPUT "where do you wanna move, O?"; m 144 REM track oʻs moves-change value of variables. 150 IF m="a" THEN LET a="O" 151 IF m="b" THEN LET b="O" 152 IF m="c" THEN LET c="O" 153 IF m="d" THEN LET d="O" 154 IF m="e" THEN LET e="O" 155 IF m="f" THEN LET f="O" 156 IF m="g" THEN LET g="O" 157 IF m="h" THEN LET h="O" 158 IF m="i" THEN LET i="O" 159 REM print map. 160 print a;b;c 170 print d;e;f 180 print g;h;i 181 print " ------------ " 183 REM xʻs movement 190 INPUT "where do you wanna go X?"; m 199 REM track xʻs moves 250 IF m="a" THEN LET a="X" 251 IF m="b" THEN LET b="X" 261 IF m="c" THEN LET c="X" 271 IF m="d" THEN LET d="X" 281 IF m="e" THEN LET e="X" 291 IF m="f" THEN LET f="X" 333 IF m="g" THEN LET g="X" 444 IF m="h" THEN LET h="X" 555 IF m="i" THEN LET i="X" 666 REM print map. 777 print a;b;c 888 print d;e;f 999 print g;h;i 1000 print " ------------ " 1001 GOTO 133
Login
or
register
to post comments
Popular Projects
Trebuchet II
New version with a mini story plus the popups are gone (yay!). And watch out for the dragon! The popup is replaced by pressing +/- to change the angle and pressing 1-9 to set the force.
Pong with Scoring
A version of the Ping Pong game that keeps the score
Snake Skin
A variant of the Snake game but with a snake skin that moves.
Countries Hangman
A version of the Hangman game where the words are all countries
Tool Name Hangman
A version of the Hangman game for tools.
more
Who's online
There are currently
0 users
and
0 guests
online.
Who's new
piggles
pine
RAFAEL ROMERO
almhath
miken
Active forum topics
Members
LANGUAGE LEARNINGS
ERRORS
more
New forum topics
LANGUAGE LEARNINGS
ERRORS
Members
more