Author Topic: My Basic Projects: Currently CardSim and Space Invaders  (Read 2138 times)

0 Members and 1 Guest are viewing this topic.

Offline collechess

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +22/-2
    • View Profile
My Basic Projects: Currently CardSim and Space Invaders
« 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.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: My Basic Projects: Currently CardSim and Space Invaders
« Reply #1 on: June 04, 2011, 02:18:18 pm »
Very nice, space invaders we can shoot and everything, in pure Basic :D

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: My Basic Projects: Currently CardSim and Space Invaders
« Reply #2 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 :(
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline collechess

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +22/-2
    • View Profile
Re: My Basic Projects: Currently CardSim and Space Invaders
« Reply #3 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.

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: My Basic Projects: Currently CardSim and Space Invaders
« Reply #4 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.  I called it Invaders.
You can use sub() and InString() to extract elements of the string.  Good luck! :D