Author Topic: nDealOrNoDeal for Nspire  (Read 12839 times)

0 Members and 1 Guest are viewing this topic.

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
nDealOrNoDeal for Nspire
« on: November 16, 2013, 01:43:48 pm »
Hey Guys,

I've been making the game Deal or No Deal for the TI-Nspire! :)  If you are familiar with the television show or a game based off the show you should already be familiar with how to play this.  I include all my source in the attachment.

It is almost where I want it to be.  I got to add some better touchpad handling.  I was trying to make the game fully playable using only the touchpad; and it almost is.  I need to make the touchpad work using relative coordinates to where you first touched the touchpad.  What happens is you get the cursor over the case you want and when you press the touchpad center button ever so slightly before it is pressed the cursor moves to the center.  The good news is you can play using the 2,4,6,8 keys and the enter key (also an option to not use a mouse cursor and therefore the touchpad arrows are very useable).

I did a few things for the non-CX TI-Nspires so they are decently playable.

Let me know if you see anything else that could be improved upon.  And holler if you have any questions or concerns!

Have an amazing day!

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #1 on: November 16, 2013, 01:56:23 pm »
very good
i take that as deal

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: nDealOrNoDeal for Nspire
« Reply #2 on: November 16, 2013, 10:04:39 pm »
That looks really good with the Deal or no Deal artwork. I wonder what is the player standing? Perhaps, as you increase it between games, you can unlock features or something?
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: nDealOrNoDeal for Nspire
« Reply #3 on: November 17, 2013, 04:38:31 am »
Looks like an awesome game!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #4 on: November 17, 2013, 07:55:10 am »
One more entertaining contribution!
... It is almost where I want it to be. 
Keep it up until you're happy with it. Others will appreciate your efforts.

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #5 on: November 17, 2013, 09:49:11 am »
Hey Guys,

Jonius7: I figured since you don't actually win real money that there would be no reason to ever accept a deal.  And if you never accept a deal it might not be of any fun.  So player standing is if you accept a deal and it was more than the case you picked; or if you open your case and it had more than the last offer your player standing increases.  Otherwise it decreases.

But you know I always did want to have a game with achievements!  Such possible achievements could be: won the million dollars; played 10 games; played 50 games; accepted 10 deals; close call (2 remaining cases are the million and 1/2 million); and perhaps some others.  But I wasn't thinking (at least for this game) that points could be cashed in to unlock extra features.  But that would be cool.  I might just add the achievement thing!  That would be sweet! :)

hking1, AssemblyBandit, SpiroH: Thanks so much guys!!

Have a great day!

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #6 on: November 17, 2013, 01:35:23 pm »
This game looks awesome! :)
(And good job using C++)

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #7 on: November 17, 2013, 02:32:11 pm »
It looks great as usual, just one thing, in the screenshot i don't understand what that sentence means: "Because you accepted you got more money that if you kept going your points increased."

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #8 on: November 17, 2013, 03:15:49 pm »
Yeah, that sentence doesn't make sense to me either.

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #9 on: November 17, 2013, 05:04:41 pm »
Hey Guys,

:)

Yeah; let me explain a little better.  There are 4 outcomes:
1. Decline all offers and your picked case has more than the last offer.
2. Decline all offers and your picked case has less than the last offer.
3. Accept an offer and your offer is greater than your picked case.
4. Accept an offer and your offer is less than your picked case.

Your points go in in outcomes 1 & 3.  Your points go down in outcomes 2 & 4.  Hope that helps! :)

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: nDealOrNoDeal for Nspire
« Reply #10 on: November 17, 2013, 05:11:05 pm »
Awesome project and nice to see you back in action ajorians. :D

Also Deal or no Deal is pretty popular where I live (although it's called "The Banker" in French over here and thankfully, it's not just a French dub of the original TV show, unlike The Wall and early versions of Wipeout)

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #11 on: November 19, 2013, 08:20:36 pm »
Hey Guys,

I put your suggestions of achievements into the game.  I fixed some bugs and added an option to set the duration that the label will blink for.  I offer 2 duration lengths but if you use nTxt and edit the settings file you could adjust more than exposed in the UI.

I made the touchpad changes so that is pretty cool.  Give it a try if you can!

So it is almost done.  I plan on adding a little meter in the achievement view to indicate how close you are to passing an achievement.

Sources are included; I hope you like it! :)

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: nDealOrNoDeal for Nspire
« Reply #12 on: November 20, 2013, 09:52:08 pm »
I like the achievements ideas. They are getting more popular nowadays so it's a good idea to add them to increase replay value. :)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: nDealOrNoDeal for Nspire
« Reply #13 on: November 21, 2013, 02:08:34 am »
Yep, pretty nice :D
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ajorians

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 105
  • Rating: +47/-0
    • View Profile
Re: nDealOrNoDeal for Nspire
« Reply #14 on: November 23, 2013, 12:49:35 pm »
Hey Guys,

I think I am at a good point with this game and will start my next project shortly!

There are some pretty cool additions added.  I added little progress meters in the achievement screen such that you know how close you are to having an achievement done.  This works for the achievements such as play 10 games; so if you have played 8 games and wondering if the achievement system is broken you'll see you just have a little more to go.  For achievements such as 'win one million' the meter won't help.

I added such that you can press exit in the middle of a game and you can resume the game (or not).  This is convenient if you want to change some options and return to the game.  I didn't add it but was thinking of making it so you could exit the whole program and it would persist the game to a file and you could resume your game when you reopen the program.  This way if you were in class and needed to do some calculations you could and then resume.

Let me know what you think!

And have a great day!