I need an idea for a simple game in basic (i was told it can't be battleship for some reason) to program. I do not want whoever reads this post to give me the coding for it i am just looking for ideas. It must use loops, IF-THENs, and inputs and those 3 things are the only things it needs to...
It worked and all but i have a a question. i want to make a game in chipmunk basic and I was wondering if you had any ideas. I want it to use the arrow keys (w,a,s,d) as well. I tried making a game of snake but it didnt work because CB messed up. I was wondering if you had any ideas.
Thanks
It does work but when i press "w" it keeps adding a "-" to my figure. When i press "s" it does not have this problem so i was wondering how to change it so when i press "w" it moves over and does not print extra lines "-". Also if i assigned a variable to the "<-" and said if "<-" is =80,25 then...
I have a stupid question. I am using the the help you gave me and it is working but I am having trouble with something else. I am trying to program something that looks like this:
10 let x = 40
30 let y = 10
50 gotoxy x,y
60 print "<-"
65 while
70 let s$ = inkey$
80 if s$ = "w" then...
This is exactly what I typed:
10 while
15 let s$=inkey$
20 if s$ = "s" then print "hello"
30 if s$ = "w" then print "hi"
40 wend
50 end
When I run the program an i press "s" and "w" it prints both hello and hi so thank you. I will try and make the <<<do something>>> be more complicated and I...
If you see this reply please go to this link because I wanted to make an new post that re-phrased my question. https://www.physicsforums.com/showthread.php?p=3880431#post3880431. If this doesn't work then just search my name and look for the post on programming (not this one).
Thanks ALL!
Ok so this is my altered and rephrased question. I need help programming something that uses an input. Now it is not as simple as it sounds because I want the user of the program to be able to run the program and have several things happen. When he/she runs the program I want him/her to press...
I am trying to make a game in Chipmunk Basic using the arrow keys but I can't because I cannot figure out how. I have programmed in other Basic Softwares but I cannot figure out how to use the arrow keys and spacebar in my programs. An example (much simplified) of a game I am making is snake (if...