This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
Author Message
ssass


Newbie


Joined: 20 Jul 2009
Posts: 10

Posted: 20 Jul 2009 08:55:36 pm    Post subject:

Hey guys,
I am making a multiplayer game, but i need to figure out how to have the calc record the turns each player takes...
i need it to determine the winner.

P.S. you guys will probably solve this in a minute, but please respond anyway...
Back to top
ztrumpet


Active Member


Joined: 06 May 2009
Posts: 555

Posted: 21 Jul 2009 10:41:42 am    Post subject:

Use the getCalc( command.
Info can be found at TI Basic Developer (TIBD) http://tibasicdev.wikidot.com/home
The getCalc( command's page: http://tibasicdev.wikidot.com/getcalc
Back to top
ssass


Newbie


Joined: 20 Jul 2009
Posts: 10

Posted: 21 Jul 2009 11:46:49 am    Post subject:

Thanks for the help!!!
Back to top
Builderboy2005


Advanced Newbie


Joined: 19 Apr 2009
Posts: 51

Posted: 21 Jul 2009 02:36:33 pm    Post subject:

If you are making a turn based game, you might consider just making it in one program, all in one calculator, and have the players pass the calculator to the opponent after they finish their turn. This makes it a lot simpler, as getCalc( can be confusing.
Back to top
ztrumpet


Active Member


Joined: 06 May 2009
Posts: 555

Posted: 22 Jul 2009 07:25:11 am    Post subject:

If you still want to use getCalc( these pages might interest you as well:
Multiplayer: http://tibasicdev.wikidot.com/multiplayer
Instant Messenger Program: http://tibasicdev.wikidot.com/instant-messenger
Back to top
ssass


Newbie


Joined: 20 Jul 2009
Posts: 10

Posted: 30 Jul 2009 08:49:22 pm    Post subject:

if i did it one one calc how would i record the turns?


Would it just be easier to have it be passed back and forth... rather than having one person guess untill they get it right then change?


nevermind i figuried it out


Last edited by Guest on 03 Aug 2009 08:42:10 pm; edited 1 time in total
Back to top
maggielwo


Newbie


Joined: 02 Aug 2009
Posts: 8

Posted: 13 Aug 2009 09:50:22 pm    Post subject:

I guess you could use lists. That's what I did for my game. You can find it here: Water Gun Fight What I did was make 3 teams, or save files. I was planning to use them in two player mode too, but I haven't done so yet.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement