Author Topic: Tetris in TI basic  (Read 17610 times)

0 Members and 2 Guests are viewing this topic.

Offline theUnnamed

  • LV3 Member (Next: 100)
  • ***
  • Posts: 63
  • Rating: +3/-3
    • View Profile
Tetris in TI basic
« on: April 13, 2010, 09:42:31 pm »
I'm going to write tetris in entirely TI basic for the 84+ and possibly the 83+ if I can work out the timing of it. Ultimately I'm rewriting a program I made a while back I had it almost complete but I lost the code when my calculator was stolen this time I'm going to finish it.
I challenge someone to finish writing it before me.  And just so we're all on a level playing field it must be able finish one block drop and move to the next in less then a second unless it has to eliminate a row and be at least 16 blocks across. I have gotten 99% of the way there in the past and I had to split It into 4 programs to work it into memory.  A launcher that unarchived and archive the other 3, a setup program and a clean up program only the setup and 1 of the 3 others fit in memory at the same time when you had all the variable information and nothing else could be in memory while it run. Needless to say it toke up a lot of space.  trust me It takes every trick in the book to make it work.  call it the ultimate TI Basic challenge.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Tetris in TI basic
« Reply #1 on: April 13, 2010, 09:45:51 pm »
Sure i'll take you up on this :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Tetris in TI basic
« Reply #2 on: April 13, 2010, 10:02:54 pm »
Nice to see you want to work on that game :)

Good luck ^^
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Tetris in TI basic
« Reply #3 on: April 13, 2010, 10:57:35 pm »
I don't think I would be up to this. Good Luck!

_player1537

  • Guest
Re: Tetris in TI basic
« Reply #4 on: April 13, 2010, 11:01:48 pm »
i'd be up for it in axe [not part of the challengr, but oh well :p]

Offline theUnnamed

  • LV3 Member (Next: 100)
  • ***
  • Posts: 63
  • Rating: +3/-3
    • View Profile
Re: Tetris in TI basic
« Reply #5 on: April 13, 2010, 11:47:05 pm »
I think I'm going to modify the competition slightly for fairness.  I'm going to build a piece of code that sets up the board layout (meaning the visual background that never changes like the sides of the tetris board and the next block box) and post I all contestants will start building code then.

This will not only give a completely level playing field as far as code complexity is concerned.  It will also give people some time to think about how to implement it thus taking away some of my advantage of already having run into most of the problems.  This program really takes a lot of thinking out side the box even though it seems simple the amount of memory you have to work with coupled with the time restraint of it having to be responsive and not take a long time to index itself so it can implement a simpler inner loop makes it more difficult then it first seems.

I hope to have the board setup program up by Friday

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Tetris in TI basic
« Reply #6 on: April 13, 2010, 11:47:50 pm »
I'm curious to see who wins. :) Good luck you guys.

Edit:
i'd be up for it in axe [not part of the challengr, but oh well :p]

Tetris in Axe would be pretty cool. It'd be interesting to see how it would turn out.
« Last Edit: April 13, 2010, 11:52:36 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Tetris in TI basic
« Reply #7 on: April 14, 2010, 01:44:50 am »
This would be interesting :)
I don't think I'll do it. If I pick this project up too, I'll never finish TLM -_-;;


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Tetris in TI basic
« Reply #8 on: April 14, 2010, 02:18:32 am »
Idk for myself either because I never really got into puzzle game creation nor complex games like Tetris, so I would probably epic fail at it, especially that all the tricks I know about TI-BASIC are mostly rudimentary stuff x.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Tetris in TI basic
« Reply #9 on: April 14, 2010, 02:23:28 am »
You're also welcome to try your hand at coding Trominoes. :)



/shameless self-promotion

Offline theUnnamed

  • LV3 Member (Next: 100)
  • ***
  • Posts: 63
  • Rating: +3/-3
    • View Profile
Re: Tetris in TI basic
« Reply #10 on: April 14, 2010, 06:36:13 am »
I would say that's a different engine but much of the code could be reused.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Tetris in TI basic
« Reply #11 on: April 14, 2010, 12:10:24 pm »
That could maybe be another idea actually. There are a lot of Tetris clones in BASIC and ASM (I think Nitacku did one with BASIC and one with xLIB and they're quite good) so maybe something slightly different?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Tetris in TI basic
« Reply #12 on: April 14, 2010, 02:10:11 pm »
Woot so i already have the entire engine finished, what was the dimnensions that you required?  Traditional 10 wide and about 15 hight?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Tetris in TI basic
« Reply #13 on: April 14, 2010, 02:28:33 pm »
Are you making the Tetris game or what Zera posted?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Tetris in TI basic
« Reply #14 on: April 14, 2010, 02:34:33 pm »
Tetris, its a fun coding challenge, to exercise the brain and keep my basic skills up to par :)