New Reply

Solving Flip It, a Game

 
Share Thread Thread Tools
Nov18-11, 11:11 PM   #1
 

Solving Flip It, a Game


I've formulated the game Flip It(http://www.coolmath-games.com/0-flipit/index.html) into mathematical terms and a system of equations that solve for the solution matrix(the matrix of how many times each square must be clicked to solve from a given beginning.

Let [itex]A_{5,5}[/itex] be a matrix over the integers modulus 2 that represents the original pattern with 1 being white and 0 being black.

Let [itex]M_{5,5}[/itex] be a matrix over the integers modulus 2 that represents the matrix we want (to solve, this would be all 1's).

Let [itex]B_{5,5}[/itex] be the solution matrix, the number of times each square must be clicked, be defined by the equality [itex]m_{x,y}=b_{x,y} a_{x,y}+b_{x+1,y} a_{x+1,y}+b_{x,y+1} a_{x,y+1}+b_{x-1,y} a_{x-1,y}+b_{x,y-1} a_{x,y-1}[/itex].

How do I solve [itex]m_{x,y} \equiv b_{x,y} a_{x,y}+b_{x+1,y} a_{x+1,y}+b_{x,y+1} a_{x,y+1}+b_{x-1,y} a_{x-1,y}+b_{x,y-1} a_{x,y-1} \: mod \: 2[/itex] for all x,y in [1,5] (intersected with the integers, of course)?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Nov20-11, 02:37 PM   #2
 
Quote by TylerH View Post
I've formulated the game Flip It(http://www.coolmath-games.com/0-flipit/index.html) into mathematical terms and a system of equations that solve for the solution matrix(the matrix of how many times each square must be clicked to solve from a given beginning.

Let [itex]A_{5,5}[/itex] be a matrix over the integers modulus 2 that represents the original pattern with 1 being white and 0 being black.

Let [itex]M_{5,5}[/itex] be a matrix over the integers modulus 2 that represents the matrix we want (to solve, this would be all 1's).

Let [itex]B_{5,5}[/itex] be the solution matrix, the number of times each square must be clicked, be defined by the equality [itex]m_{x,y}=b_{x,y} a_{x,y}+b_{x+1,y} a_{x+1,y}+b_{x,y+1} a_{x,y+1}+b_{x-1,y} a_{x-1,y}+b_{x,y-1} a_{x,y-1}[/itex].

How do I solve [itex]m_{x,y} \equiv b_{x,y} a_{x,y}+b_{x+1,y} a_{x+1,y}+b_{x,y+1} a_{x,y+1}+b_{x-1,y} a_{x-1,y}+b_{x,y-1} a_{x,y-1} \: mod \: 2[/itex] for all x,y in [1,5] (intersected with the integers, of course)?
I screwed up; both of those equivalences should be: [itex]m_{x,y} \equiv b_{x,y}+a_{x,y}+b_{x+1,y}+a_{x+1,y}+b_{x,y+1}+a_{x,y+1}+b_{x-1,y}+a_{x-1,y}+b_{x,y-1}+a_{x,y-1} \: mod \: 2[/itex]
 
New Reply
Thread Tools


Similar Threads for: Solving Flip It, a Game
Thread Forum Replies
Equitable Coin Flip Game Set Theory, Logic, Probability, Statistics 8
Debounce circuit with D flip flip Engineering, Comp Sci, & Technology Homework 0
Help with game theory (specific knowledge in game theory probably not required) Calculus & Beyond Homework 4
Drawing D flip flop using T flip flop Engineering, Comp Sci, & Technology Homework 2
Happy 4th of July..Flip Early, Flip Often General Discussion 4