snake game console

The forum for all of your Freebasic needs!

Moderators: Pete, Mods

Post Reply
Puzomor
Newbie
Posts: 2
Joined: Thu Jul 05, 2012 9:34 am

snake game console

Post by Puzomor »

hi, im in a making of snake game and im using screen 18 in freebasic. in the main loop,i have this situation:
DO
...
counter+=1
if counter>1500 then counter=0
LOOP UNTIL ...
how do i "print" the counter value into the console window that opens when i start the game along with graphical window?
Lachie Dazdarian
Veteran
Posts: 202
Joined: Mon Aug 30, 2004 6:18 am
Location: Croatia
Contact:

Post by Lachie Dazdarian »

open cons for output as #1
print #1, "xxxx"
Lachie Dazdarian - The Maker Of Stuff
Lachie Dazdarian
Veteran
Posts: 202
Joined: Mon Aug 30, 2004 6:18 am
Location: Croatia
Contact:

Post by Lachie Dazdarian »

For more features you might want to check these routines:

http://www.freebasic.net/forum/viewtopi ... ass#p97918
Lachie Dazdarian - The Maker Of Stuff
Puzomor
Newbie
Posts: 2
Joined: Thu Jul 05, 2012 9:34 am

Post by Puzomor »

puno hvala!
Post Reply