Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWAREProgramming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #16  
Old October 12th, 2009, 07:42 AM
Farshid.T Farshid.T is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 1 Farshid.T User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 13 sec
Reputation Power: 0
Hi everyone,
I want to upload the Blackjack game on my TI-84 calculator. I installed TI Connect and I finally connected the calculator to the PC. I also installed TI-coder to get a TI program but the output format is .8xp and it is not supported by TI Connect.
Can anyone tell me how to upload this Blackjack program from PC to TI-84?
I appreciate your help.

sorry if here is a wrong thread to ask this kind of questions.

Reply With Quote
  Trader Rating: 0 · #17  
Old November 25th, 2009, 01:23 PM
browndog browndog is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 1 browndog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 50 sec
Reputation Power: 0
i dont have an answer, as i am new to this forum and to programming. i have my own questions.
1. when programming a calculator, how do you put in an =, as in
if X=Y...
and
2. also while programming, how do you do a < or >?
im completely serious, i cant figure this out!
also, in the guessing game code, whats with the /=? is there a function that does not equal to?

Reply With Quote
  Trader Rating: 0 · #18  
Old December 14th, 2009, 01:54 PM
ADayToRemember ADayToRemember is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 2 ADayToRemember User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 29 sec
Reputation Power: 0
Quote:
Originally Posted by browndog
i dont have an answer, as i am new to this forum and to programming. i have my own questions.
1. when programming a calculator, how do you put in an =, as in
if X=Y...
and
2. also while programming, how do you do a < or >?
im completely serious, i cant figure this out!
also, in the guessing game code, whats with the /=? is there a function that does not equal to?


maybe u should try 2nd MATH there you will find all your answers :P

Reply With Quote
  Trader Rating: 0 · #19  
Old December 14th, 2009, 01:59 PM
ADayToRemember ADayToRemember is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 2 ADayToRemember User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 29 sec
Reputation Power: 0
Quote:
Originally Posted by Anubisguardian
It Is here the moment you have been waiting for...the new improved blackjack...and thanks thedon for giving me something to fill my time with

Lbl 1
Menu(“Welcome”,”Restore”,”2,”New”,A,”Exit”,C
Lbl 2
Menu(“Restore”,”Game 1”,3,”Game 2”,4,”Game 3”,5,”Game 4”,6,”Game 5”,7)
Lbl 3
Q->Z
Goto B
Lbl 4
P->Z
Goto B
Lbl 5
O->Z
Goto B
Lbl 6
N->Z
Goto B
Lbl 7
M->Z
Goto B
Lbl A
0->Z
0->X
Menu ("Welcome","Play",B,"Exit",C
Lbl C
Stop
Lbl B
disp "Money”,Z
Input “Bet”,W
If W<0
Then
Disp “Bet Higher”
Pause
Goto B
Else
IF W>Z
Then
Disp “Bet Lower”
Pause
Goto B
Else
0->V
0->U
0->T
0->S
0->L
randint(1,10)->V
Randint(1,10)->U
V+U->X
If X>21 (I don’t know why I kept this here)
Then
Disp “Bust”
Z-100->Z
0->X
Pause
Clrhome
Goto J
Else
Clrhome
Goto J
Lbl J
Menu ("Play!","Hit",D,"Stay",E,”Split”,I,"Card count",F,"Money left",G,"Exit",H,”Save”,Z
Lbl I
If V/=U (/= is not equal to)
then
goto J
else
If V=U
then
2W->W
randint(1,10)->T
V+T->X
randint(1,10)->S
U+S->L
Disp “Cards”,V,T
Disp “Cards”,U,S
Disp “Card Total”,X,L
Pause
Clrhome
If L>X
Then
L->X
Goto E
else
If X>L
Then
Goto E
Lbl H
Goto A
Lbl G
disp "Money",Z
Pause
ClrHome
Goto B
Lbl F
disp "Cards",V,U
Card Total”,X
Pause
Clrhome
Goto J
Lbl D
randint(1,10)+X->X
disp "Cards",X
Pause
ClrHome
Goto J
Lbl E
randint(15,24)>Y
If Y>21
Then
disp "You Win"
Disp “Your Cards”,X
Disp “computer’s cards”,Y
Pause
ClrHome
Z+W->Z
0->X
Goto B
Else
If X>21 (A little bug, if you and comp bust you still win, house Disp “Bust” busts first)
Disp “Your Cards”,X
disp “Computers cards”,Y
Pause
clrhome
Z-100->Z (you can adjust this according to your money
0->X reccomendation =10%)
Goto B
Else
If Y>X
Then
disp "You lost"
disp "Your cards",X
disp "Computer's cards",Y
pause
ClrHome
Z-W->Z
0->X
Goto B
Else
If Y<X
Then
disp "You Won"
disp "Your cards",X
disp "Computer's cards",Y
Pause
ClrHome
0->X
Z+W->Z
Goto B
Else
If X=Y
Then
disp "Tie"
disp "Your cards",X
disp "Computer's cards",Y
Pause
ClrHome
0->X
Goto B
Lbl Z
Menu(“Save”, “Game 1”,8,”Game 2”,9,”Game 3”,10,”Game 4”,11,”Game 5”,12)
lbl 8
Z->Q
Goto 13
Lbl 9
Z->P
Goto 13
Lbl 10
Z->O
Goto 13
Lbl 11
Z->N
Goto 13
Lbl 12
Z->M
Goto 13
Lbl 13
Menu(“Continue?”,B,”Exit”,C)

For my version, because I run many other programs involving the variables from M-Q I have just the restore function and I deleted lbl Z and lbls 8 to 13 and instead I write down the number and enter it into the store Z such as my game 1 looks like this:

Lbl 3
6200->Z
Goto B


if u start a new game ur money is 0 so what do u think is a nice amount to start with or doesnt it matter cuz its ur own bet and i think u should make a highscore

Reply With Quote
  Trader Rating: 0 · #20  
Old January 31st, 2010, 11:38 PM
OldSchoolYou's Avatar
OldSchoolYou OldSchoolYou is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Location: S.F.Bay Area
Posts: 17 OldSchoolYou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 56 sec
Reputation Power: 0
Entering symbols/commands on a TI-84+/SE

Quote:
Originally Posted by browndog
i dont have an answer, as i am new to this forum and to programming. i have my own questions.
1. when programming a calculator, how do you put in an =, as in
if X=Y...
and
2. also while programming, how do you do a < or >?
im completely serious, i cant figure this out!
also, in the guessing game code, whats with the /=? is there a function that does not equal to?


Open the Catalog by pressing: 2nd and then 0 (Catalog) buttons. Then if you scroll up you will see all the command symbols and if you scroll down you will see command words. If you have Alpha mode on, you can press the first letter of the command you want and it will go to the words that start with that letter. I'm new to programming and very new to TI-Basic, but I hope that helps.

Reply With Quote
  Trader Rating: 0 · #21  
Old February 1st, 2010, 01:54 AM
OldSchoolYou's Avatar
OldSchoolYou OldSchoolYou is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Location: S.F.Bay Area
Posts: 17 OldSchoolYou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by ADayToRemember
maybe u should try 2nd MATH there you will find all your answers :P
That's cool for quick test symbols/logic commands but, of course, tou can find those and almost all other/symbols/commands/operators in the catalog. But, I'm still learning. Only had the thing a week.

Reply With Quote
  Trader Rating: 0 · #22  
Old February 1st, 2010, 02:05 AM
OldSchoolYou's Avatar
OldSchoolYou OldSchoolYou is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Location: S.F.Bay Area
Posts: 17 OldSchoolYou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by Farshid.T
Hi everyone,
I want to upload the Blackjack game on my TI-84 calculator. I installed TI Connect and I finally connected the calculator to the PC. I also installed TI-coder to get a TI program but the output format is .8xp and it is not supported by TI Connect.
Can anyone tell me how to upload this Blackjack program from PC to TI-84?
I appreciate your help.

sorry if here is a wrong thread to ask this kind of questions.

I had the same problem. I'm using TI Program Editor in conjunction with TI Connect. It's buggy and no longer supported but I am trying to find a work-around. It seems to be a font or font/formatting issue so if I can't fix it with the program, I may try to do the actual coding in notepad/VB6/or something, then just use the TI Program Editor (With TI Connect) to send it to the calc. This may require creating a custom character set or command list though. Syntax checker doesn't seem to work either. I'm hopeful I can use this though, as it would be so much more efficient/pleasant for coding long programs than trying to do the whole thing on the calc! I'll try.

Reply With Quote
  Trader Rating: 0 · #23  
Old February 1st, 2010, 10:48 AM
OldSchoolYou's Avatar
OldSchoolYou OldSchoolYou is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Location: S.F.Bay Area
Posts: 17 OldSchoolYou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by Anubisguardian
It Is here the moment you have been waiting for...the new improved blackjack...and thanks thedon for giving me something to fill my time with

Lbl 1
Menu(“Welcome”,”Restore”,”2,”New”,A,”Exit”,C
Lbl 2
Menu(“Restore”,”Game 1”,3,”Game 2”,4,”Game 3”,5,”Game 4”,6,”Game 5”,7)
Lbl 3
Q->Z
Goto B
Lbl 4
P->Z
Goto B
Lbl 5
O->Z
Goto B
Lbl 6
N->Z
Goto B
Lbl 7
M->Z
Goto B
Lbl A
0->Z
0->X
Menu ("Welcome","Play",B,"Exit",C
Lbl C
Stop
Lbl B
disp "Money”,Z
Input “Bet”,W
If W<0
Then
Disp “Bet Higher”
Pause
Goto B
Else
IF W>Z
Then
Disp “Bet Lower”
Pause
Goto B
Else
0->V
0->U
0->T
0->S
0->L
randint(1,10)->V
Randint(1,10)->U
V+U->X
If X>21 (I don’t know why I kept this here)
Then
Disp “Bust”
Z-100->Z
0->X
Pause
Clrhome
Goto J
Else
Clrhome
Goto J
Lbl J
Menu ("Play!","Hit",D,"Stay",E,”Split”,I,"Card count",F,"Money left",G,"Exit",H,”Save”,Z
Lbl I
If V/=U (/= is not equal to)
then
goto J
else
If V=U
then
2W->W
randint(1,10)->T
V+T->X
randint(1,10)->S
U+S->L
Disp “Cards”,V,T
Disp “Cards”,U,S
Disp “Card Total”,X,L
Pause
Clrhome
If L>X
Then
L->X
Goto E
else
If X>L
Then
Goto E
Lbl H
Goto A
Lbl G
disp "Money",Z
Pause
ClrHome
Goto B
Lbl F
disp "Cards",V,U
Card Total”,X
Pause
Clrhome
Goto J
Lbl D
randint(1,10)+X->X
disp "Cards",X
Pause
ClrHome
Goto J
Lbl E
randint(15,24)>Y
If Y>21
Then
disp "You Win"
Disp “Your Cards”,X
Disp “computer’s cards”,Y
Pause
ClrHome
Z+W->Z
0->X
Goto B
Else
If X>21 (A little bug, if you and comp bust you still win, house Disp “Bust” busts first)
Disp “Your Cards”,X
disp “Computers cards”,Y
Pause
clrhome
Z-100->Z (you can adjust this according to your money
0->X reccomendation =10%)
Goto B
Else
If Y>X
Then
disp "You lost"
disp "Your cards",X
disp "Computer's cards",Y
pause
ClrHome
Z-W->Z
0->X
Goto B
Else
If Y<X
Then
disp "You Won"
disp "Your cards",X
disp "Computer's cards",Y
Pause
ClrHome
0->X
Z+W->Z
Goto B
Else
If X=Y
Then
disp "Tie"
disp "Your cards",X
disp "Computer's cards",Y
Pause
ClrHome
0->X
Goto B
Lbl Z
Menu(“Save”, “Game 1”,8,”Game 2”,9,”Game 3”,10,”Game 4”,11,”Game 5”,12)
lbl 8
Z->Q
Goto 13
Lbl 9
Z->P
Goto 13
Lbl 10
Z->O
Goto 13
Lbl 11
Z->N
Goto 13
Lbl 12
Z->M
Goto 13
Lbl 13
Menu(“Continue?”,B,”Exit”,C)

For my version, because I run many other programs involving the variables from M-Q I have just the restore function and I deleted lbl Z and lbls 8 to 13 and instead I write down the number and enter it into the store Z such as my game 1 looks like this:

Lbl 3
6200->Z
Goto B


Cool Code! I'm looking forward to trying the game but I have a question. You have three different kinds of "(quotes) here: left-leaning, vertical, and right-leaning. TI-basic only accepts vertical. So why/how did you do this and why in TI Program Editor does every non-vertical quote become a weird E with accents over them? This is a bit frustrating so let me know. Thanks.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWAREProgramming > Programming BASIC games for the TI-84+


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek