Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: collechess on June 02, 2011, 02:02:11 pm

Title: My Basic Projects: Currently CardSim and Space Invaders
Post by: collechess on June 02, 2011, 02:02:11 pm
I decided to create a new topic for all of my BASIC projects instead of one for each one because they're pretty small.
CardSim
This is a simulator to shuffle and deal a deck of cards.  It finds the suit and value.  This is mainly for a set of BASIC card games I'm going to make.
Others are welcome to use it.  You need both CARDSIM and GETCARD.  To change the amount of cards dealt, change the value of O.

Space Invaders
This is a port of Space Invaders in pure basic.  So far I have movement and shooting.
Title: Re: My Basic Projects: Currently CardSim and Space Invaders
Post by: Munchor on June 04, 2011, 02:18:18 pm
Very nice, space invaders we can shoot and everything, in pure Basic :D
Title: Re: My Basic Projects: Currently CardSim and Space Invaders
Post by: ruler501 on June 04, 2011, 02:23:28 pm
I once made a game like space invaders. I lost it when i updated my nspire OS :(
Title: Re: My Basic Projects: Currently CardSim and Space Invaders
Post by: collechess on June 05, 2011, 05:13:00 pm
Space Invaders
I'm currently stuck on how to store and display enemies.  If I use a string, I can't access the data, but if I use a list, I can't display it easily.  I need the enemies to move to one side of the screen, go down one row, and move to the other side, then repeat.
Title: Re: My Basic Projects: Currently CardSim and Space Invaders
Post by: ztrumpet on June 05, 2011, 05:27:53 pm
I used a string when I made a game like it. :)  You can find my version here. (http://ourl.ca/4491/142729)  I called it Invaders.
You can use sub() and InString() to extract elements of the string.  Good luck! :D