1996
General Calculator Help / Re: Detailed Modulus Discussion
« on: March 28, 2012, 02:33:48 pm »
Hmm, in mathematics, when we look at -1 mod 5, that is 4, not sure if that helps...
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. 1996
General Calculator Help / Re: Detailed Modulus Discussion« on: March 28, 2012, 02:33:48 pm »
Hmm, in mathematics, when we look at -1 mod 5, that is 4, not sure if that helps...
1997
Other Calculators / Re: TI-Concours, a french programming contest for 68k/z80« on: March 28, 2012, 12:02:41 pm »
Delete it and recreate it?
1998
General Calculator Help / Re: Detailed Modulus Discussion« on: March 28, 2012, 12:01:58 pm »
Open it in another tab and it will scale to fit
![]() 1999
General Calculator Help / Re: Detailed Modulus Discussion« on: March 28, 2012, 10:11:04 am »
I like the visual o.o
2000
Casio Calculators / Re: Who Wants to Help With a TI83+ Emulator?« on: March 28, 2012, 07:41:57 am »
Good point >.> The half carry will be fun to work through
![]() 2001
ASM / Re: Ok, I'm a noob« on: March 27, 2012, 02:47:19 pm »
Cool
![]() Code: [Select]
That is the most complicated one out of the four sections finished (I planned to have 25 to 50, but then I never finished). 2002
TI Z80 / Re: ORG: online Z80 IDE and assembler« on: March 26, 2012, 03:37:30 pm »
I think that is a good idea... maybe you could have .inc files for the other z80 calcs and for shells for the calcs.
2003
TI Z80 / Re: Chambers« on: March 26, 2012, 03:19:16 pm »
Ah, cool. I wonder how it would be applied to Chambers...
2004
TI Z80 / Re: Chambers« on: March 26, 2012, 03:07:56 pm »
Ooh, FoW would add a neat element o.o I've only ever seen that in Advanced Wars, but I don't play many games, so I wouldn't have seen it elsewhere.
2005
Math and Science / Re: Tic-Tac-Toe algorithm« on: March 26, 2012, 03:05:41 pm »
That is what makes this so beautiful
![]() ![]() ![]() 2006
Math and Science / Tic-Tac-Toe algorithm« on: March 26, 2012, 11:43:57 am »
A few are curious about my Tic-Tac-Toe algorithm, so here it is
![]() ![]() First: In Tic-Tac-Toe, there are 9 positions and 8 wins. What we did is something that we have seen nowhere else and makes things amazingly less complex. As in, a child with rudimentary math skills might be able to get it. Each position we label as a to i like this: a b c d e f g h i We then assigned a matrix of win contributions to each position. I changed this to using a row of 8 elements. So, in my example, we can do: [[D1,H1,H2,H3,V1,V2,V3,D2]] where D1 is the main diagonal, H1~H3 or horizontal wins, V1~V3 are vertical wins, and D2 is the other diagonal. If a position corresponds to a win, give it a 1, like so: [a]=[[1,1,0,0,1,0,0,0]] [b]=[[0,1,0,0,0,1,0,0]] ... Et cetera. Now, reform this into a giant 9x8 matrix. This matrix remains constant. Here is where the actual algorithm come in :D Get ready... Now, the game matrix starts clean, with 0s: [[0,0,0,0,0,0,0,0]]. These are the wins. Now, say player one selects position [a]. Add its matrix to the game matrix and you get [[1,1,0,0,1,0,0,0]]. Player two will subtract from the game matrix, so it tries to: 1) Make a -3 2) Make as many -2s as possible without leaving any 2s. If you leave 2 -2s, this will make a trap for next turn. If you leave a 2, then X will win next turn. 3) Make as many 2s into 1s if you cannot do any of that. Remember, a 2 now will turn into a 3 the next move and 3 means X got 3 in a row! See how beautiful that is? For X, it follows the same algorithm, but use the negative of any of the numbers :) The really nice part is that: -You can easily include random choices of moves that fit the highest criterion. -When the game is over, use the winning matrix and any 3s or -3s are wins, so you will know exactly where to strike through for wins! Now, I would post my tic-tac-toe program, but I apparently never saved my final version (which was in english instead of french and had the bugs fixed). Instead, I will show you a screenie :) 2007
Grammer / Re: Grammer Q&A« on: March 26, 2012, 10:58:57 am »
Haha, nice!
![]() Code: [Select] //Store Pic on screen to Appvar If appvarMain is in RAM or does not exist, that will store the buffer to it. If appvarMain exists, but is in flash, it won't work.To recall it, you will need to use solve(1: Code: [Select] Get("UMain
2008
Grammer / Re: Grammer Q&A« on: March 26, 2012, 09:36:52 am »
They remain while the program is running
![]() 2009
TI Z80 / Re: DT's Tic-Tac-Toe/Morpion for TI-Concours 2012« on: March 26, 2012, 07:01:20 am »
Wow, excellent
![]() 2010
Other Calculators / Re: TI-Concours, a french programming contest for 68k/z80« on: March 26, 2012, 06:59:08 am »* Xeda112358 has jitters EDIT: Just saw the email-- this is going to be an epic round two ![]() ![]() |
|