> Quite BASIC
>
Welcome to the clubhouse!
User login
Username:
*
Password:
*
Create new account
Request new password
Navigation
Quite BASIC
Blog
Projects
Help
Forums
Move a "dot" using keyboard keys
Posted
October 4th, 2008
by
pine
Your vote:
Current rating:
1
2
3
4
5
Category
Description
>> See More projects by pine
Level
>> Open this project at the main Quite BASIC Page
5 REM start with dot near middle 10 LET x=12 12 LET y=12 14 REM this gets the key from the keyboard 15 LET m=GETCHAR() 16 IF m="i" THEN LET y=y+1 17 IF m="j" THEN LET x=x-1 18 IF m="k" THEN LET x=x+1 19 IF m="m" THEN LET y=y-1 20 PLOT x,y,"red" 25 REM clearing (erasing) the canvas is now inside the loop 27 CLC 30 GOTO 14
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