Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jwalker

Pages: 1 ... 26 27 [28] 29 30 ... 45
406
Introduce Yourself! / Re: Shortsonfire79 joins the club!
« on: March 25, 2012, 03:54:09 pm »
did you find the one that splits the calc screen in half or the one that gives you the whole page to start with?

407
Computer Programming / Re: array help
« on: March 25, 2012, 03:18:24 pm »
that would be great if i could see your code.

i tried your code, but i had to change it from compare to Array.equils, and then changed it again to work with my stuff.
im still running into problems tho...

here is the win pattern i want to loop through:

Code: [Select]
    int[][][] winpattern2 = new int[][][] {{{0, 2, 2},
                                            {2, 0, 2},
                                            {2, 2, 0}},
       
                                            {{2, 2, 0},
                                             {2, 0, 2},
                                             {0, 2, 2}},
                                           
                                            {{0, 0, 0},
                                             {2, 2, 2},
                                             {2, 2, 2}},
                                           
                                            {{2, 2, 2},
                                             {0, 0, 0},
                                             {2, 2, 2}},
                                           
                                            {{2, 2, 2},
                                             {2, 2, 2},
                                             {0, 0, 0}}

2 is actualy where no player has clicked, i would change it when i realized how stupid it is, but im to lazy

in order to match the pattern i used this code, since there could be a one and it wouldnt work anyway, also i didnt add the down patters yet

this is the code that loops through and finds out if the patterns are correct:

Code: [Select]
int sr = 0;
            for(int[][] farray : winpattern2)
            {
                   for(int bb = 0; bb <= 2; bb++)
                   {
                       for (int c = 0; c <= 2; c++)
                       {
                           if ((ss[c][bb] == 0) && (farray[c][bb] == 0))
                           {
                                sr += 1;
                           }
                       }
                   }
                }
                   
when sr = 3 then it would break out, but i didnt include that code

i was testing and the issue is here:

Code: [Select]
for(int[][] farray : winpattern2)
this is an issue because when it is done looping through the matrix it finds looks like this:

{{2, 2, 0}
  {2, 2, 0}
  {2, 2, 0}}

which isnt possible

408
Casio Calculators / Re: Programming C for the Prizm
« on: March 25, 2012, 02:41:35 pm »
this is a great idea

409
Computer Programming / array help
« on: March 24, 2012, 11:26:50 am »
Ok, as the description says, im a newb to java.
im kinda a newb to arrays over 2 dims.
to learn java im making a small tic tac to game and here is what i want to do...

in a 3D array i want to store all of the possible win patterns, but i want to compare one of those patterns to a 2D array, how would i do that.

i know this might not be the best way to make a tic tac to game, but im trying to learn the language and work with diffrent sizes of arrays

410
TI-BASIC / Re: Graphing in Ti-Nspire Basic?
« on: March 17, 2012, 05:34:32 pm »
ive done quite a bit of ti-nspire basic, ill see what i can do

411
Miscellaneous / Re: So they killed Caesar at March 15.
« on: March 15, 2012, 10:06:30 pm »
yea, that was a long time ago...

412
Other Calculators / Re: WZGUILIB
« on: March 11, 2012, 01:06:03 pm »
I think the Form is the hardest control i have made right now, but in Version 3 i think the tab control will be.
version 3 will come out a few weeks after the release of the new OS.
If you have any ideas for controls or have made some controls, tell me, i probably will add them

413
Computer Programming / Re: small C# question..
« on: March 10, 2012, 02:15:35 pm »
ohhh, cool i didnt know that.
well it works so thanks.

414
Computer Programming / small C# question..
« on: March 10, 2012, 02:09:28 pm »
in vb.net it could be done like this:
Code: [Select]
CType(TabControl1.SelectedTab.Controls.Item(0), RichTextBox).Textthis is to change the text in a rich text box in a certain tab page.
since there is no such function in C#, how would i do this?

415
Casio Calculators / Re: Casio Prizm skinning promotion
« on: March 08, 2012, 09:02:28 am »
i got a code but it said that it was invalid??

416
News / Re: Juju steps down as manager
« on: March 06, 2012, 11:15:37 pm »
wow, we are getting alot of staff changes...

417
Miscellaneous / Re: topic about yesterday
« on: March 05, 2012, 09:11:10 am »
personally, i dont care if people know what faith i am, and i dont mind discussions on religion, but i think they need to be very heavily watched because as some have said, they do make people angry.

418
Other Calculators / Re: WZGUILIB
« on: March 03, 2012, 01:40:17 pm »
NOTIFICATION:
I have fixed some of the bugs but im going to do some more testing befor i release it
sorry for the delay

419
News / Re: OS 3.2 blocks Ndless
« on: March 03, 2012, 09:24:18 am »
they definately did.

420
Miscellaneous / Re: Happy Leap Year!
« on: February 29, 2012, 11:14:35 am »
Does anyone watch 30 Rock??, if so the leap day episode was funny.
and we should have school off

Pages: 1 ... 26 27 [28] 29 30 ... 45