Creating a Java flipping Dominoes Game
<p>I am creating a java dominoes game.
<br>
This is how a gameboard will look:</p>

<pre><code>SEEEEEEE
DDDDEEEE
EEEDEEEE
EEEDEEEE
EEEDEEEE
EEECEEEE
</code></pre>

<p>Each letter is an object.
S is a switch, it is the only value that can be touched.
D is a Domino, its state is either down or up.
C is where the game is won if a Domino hits C.</p>

<p>Each Object has coordinates, and will be initialized with coordinates.
ex.) S is in (0,0),
     and S is initialized as Switch S = new Switch(0,0);</p>

<p>My Questions are:</p>

<p>1.) When S is pressed how would I go about checking each side, to see if there are 
    Dominoes? What if there are on multiple sides(N,S,E,W).</p>

<p>Once Dominoes are found next to the switch their state must change to Down, and then we must check for more dominoes next to the Dominoes with the Down state, until all connected dominoes are down.</p>

<p>2.) How can I efficiently create different levels containing different orders 
    of these objects.
    I will be using a dual array since level sizes are static, 8 x 6.</p>

<p>3.) In the future I would like to make a gameboard with images, rather than text.
    How can I go about doing this?
    I'm thing give objects of a certain type a picture property and then display the     pictures on the board. Each object will be the same size.</p>

<p>Thank you,
<br>
Fernando Diaz</p>
