Author Topic: Answer Programs  (Read 5590 times)

0 Members and 2 Guests are viewing this topic.

_player1537

  • Guest
Answer Programs
« on: July 25, 2010, 10:03:35 pm »
I got kinda bored one day, with the lack of ideas for programs/games to make, so I started writing stuff in Basic using only the answer variable.  I ended up with one (finished) game, boulder dodge (aka ZZZZZ.8xp), and a game I was going to make kinda like elmgon (the engine that is, which isn't quite finished).  I haven't really done too many projects lately I've noticed... so here they are ^^

ZZZZZ.8xp - Boulder dodge, use the arrow keys to move, and avoid the "*".  It uses the list "ZHIGH" to store the highscore

ZZZZ.8xp - The elmgon "clone"?, use arrow keys to move, up to jump, and press alpha then an arrow key to shoot a laser (Not finished D:).  I plan to add more and finish it soon.
ZZZGTMAP.8xp - a major slowdown in my code, checks for a collision for the lasers
ZZZMAPS.8xp - contains the maps for the program

Note:  I cheated a little bit in the elmgon "clone", it uses for() loops to initilize variables, but it keeps answer in tact throughout the program ^^.  Oh, and I call it an elmgon "clone" because it was just inspired by it, its not meant to cause competition, I was just bored and loved the way you moved around in elmgon.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Answer Programs
« Reply #1 on: July 25, 2010, 10:06:57 pm »
nice.
i think I might make a asteroids answer game tonight and post it here tommorow.  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

_player1537

  • Guest
Re: Answer Programs
« Reply #2 on: July 25, 2010, 10:10:13 pm »
will it use the graph screen?  Oh, and I just remembered a mouse routine I made that only touched answer, I'll upload in a second

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Answer Programs
« Reply #3 on: July 25, 2010, 10:11:57 pm »
nah, it'll use the homescreen, and have it scroll up with Disp"
Just out of curiosity, why do you ask?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

_player1537

  • Guest
Re: Answer Programs
« Reply #4 on: July 25, 2010, 10:17:56 pm »
When you said asteroids, I thought of this: http://www.ticalc.org/archives/files/fileinfo/215/21592.html
I may try and asteroids for the graphscreen with only answer, sounds fun ^^  But it will probably be crazy slow

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Answer Programs
« Reply #5 on: July 25, 2010, 10:23:05 pm »
Wow, how did I never see that game before?
If you can do that game in basic with a decent speed, whether it uses ans or not, I would request it to be featured.  :)

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

_player1537

  • Guest
Re: Answer Programs
« Reply #6 on: July 25, 2010, 10:24:34 pm »
I had a much lower res version on my calculator... well maybe not low res, but lower detail.  It stayed on my calc forever, but I couldn't find the exact one on ticalc.org :/  Anyways, I can't promise I will work on it tonight (band camp in the morning) but I'll find time ^^

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Answer Programs
« Reply #7 on: July 26, 2010, 01:34:04 am »
I was never good at making games using answer only x.x i never got the hang of it.  Good job on all of these!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Answer Programs
« Reply #8 on: July 29, 2010, 02:31:11 am »
Wow interesting way of coding. Nice to see we can make basic games with minimal var usage :)

I never managed to figure out myself. Anything I tried to do always seemed to overwrite Ans at one point

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Answer Programs
« Reply #9 on: July 29, 2010, 11:33:30 am »
The main problem is with modifying a single value in a list. Using augment( and seq(, despite being the only way to do it, is slow for a large number of values.
I might try my hand at making an interesting game with this method at some point. :)
« Last Edit: July 29, 2010, 11:33:55 am by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Answer Programs
« Reply #10 on: July 29, 2010, 11:34:37 am »
Well, you can't display scores with it anyway, since pause modifies Ans.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Answer Programs
« Reply #11 on: July 29, 2010, 12:02:12 pm »
You can use Disp, followed by a no-argument Pause ;D
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Answer Programs
« Reply #12 on: July 29, 2010, 12:03:20 pm »
wait, doesn't that reset it as well?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Answer Programs
« Reply #13 on: July 29, 2010, 12:06:00 pm »
I don't think so... What would it set it to? :P
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Answer Programs
« Reply #14 on: August 02, 2010, 11:36:25 am »
Nice job tanner!  As for movement in Elmgon, I was inspired by Harrier Falcon's Metroid Pi. ;D