Recent content by CharlieO1212
-
C
Creative Ideas for Simple Game with Loops, IF-THENs & Inputs
Yup that's in basic..Thanks I will try that but I am going to try several things just in case. Thank you!- CharlieO1212
- Post #3
- Forum: Programming and Computer Science
-
C
Creative Ideas for Simple Game with Loops, IF-THENs & Inputs
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...- CharlieO1212
- Thread
- Game Ideas Loops
- Replies: 8
- Forum: Programming and Computer Science
-
C
Programming in Chipmunk Basic and having an input that doesnt show-see details
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- CharlieO1212
- Post #8
- Forum: Programming and Computer Science
-
C
Programming in Chipmunk Basic and having an input that doesnt show-see details
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...- CharlieO1212
- Post #6
- Forum: Programming and Computer Science
-
C
Programming in Chipmunk Basic and having an input that doesnt show-see details
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...- CharlieO1212
- Post #4
- Forum: Programming and Computer Science
-
C
Programming in Chipmunk Basic and having an input that doesnt show-see details
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...- CharlieO1212
- Post #3
- Forum: Programming and Computer Science
-
C
I programming in Chipmunk Basic with arrow keys, and random coordinate gen.
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!- CharlieO1212
- Post #4
- Forum: Programming and Computer Science
-
C
Programming in Chipmunk Basic and having an input that doesnt show-see details
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...- CharlieO1212
- Thread
- Input Programming
- Replies: 7
- Forum: Programming and Computer Science
-
C
I programming in Chipmunk Basic with arrow keys, and random coordinate gen.
It gave me a type mismatch error in line 20- CharlieO1212
- Post #3
- Forum: Programming and Computer Science
-
C
I programming in Chipmunk Basic with arrow keys, and random coordinate gen.
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...- CharlieO1212
- Thread
- Coordinate Programming Random
- Replies: 3
- Forum: Programming and Computer Science