|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[Down-n-Out]]Moving into white space
Breif question.
Should the script always move into white spaces by going down then right? And am I correct in assuming that you can move the blocks right and not down? |
|
#2
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
No. You should always collapse the grid if it can be collapsed.
|
|
#3
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
So if you have a grid like so
12323 23233 12323 And I took the row of 3's out, it would go just right correct? It should try to move down and to the right whenever possible? |
|
#4
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
I have some doubt about this too....
Let me try to show... 123 33 123344 3211 3 Is this possible? Can there be any white spaces? Or? And another thing 33222 4433 423 Will look like this in a grid.. right? --------------------- | 3 | 3 | 2 | 2 | 2 | --------------------- | 4 | 4 | 3 | 3 | ... | --------------------- | 4 | 2 | 3 | ... | ... | --------------------- Right or? |
|
#5
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
If you have some troubles to visualize the game, take a look to this link, where you can play it online (in JavaScript):
http://www.sunncity.com/Games2/samegame/ This game is also known as SameGame. JC |
|
#6
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
the javascript is not realy the same as it does not collapse to the right
12323 23233 12323 should go as this as i understand it (X means empty) 1232X 232XX 1232X first collapse down 123XX 2322X 1232X then collapse right XX123 X2322 X1232 ----------------------------------- If the sample had been 12323 23223 12323 then collapsing down would result in no change and it would look like youre only collapsing right 1232X 2322X 1232X |
|
#7
|
|||
|
|||
|
RE: RE: [Down-n-Out]]Moving into white space
Quote:
This example given by marcel is correct. |
|
#8
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
Since Matt confirmed Marcel's example, the rules are now clear :-)
BTW, here are more links for samegame: http://www.ix.sakura.ne.jp/~art/joint/samegame/ (online game with highscores, the highest scores have been found by programs !) http://www.segaswirl.com/ I played it also on the online Yahoo Games. JC |
|
#9
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
A word of warning...be sure to follow the rules on the contest page here and not the rules of any other game you may find online. You could find that they differ...
mcoder: Quote:
The first is correct. You should push as far right on all rows as possible. |
|
#10
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
What happens in this case, if we choose the rightest 3 ?
1X323 2X233 12323 |
|
#11
|
|||
|
|||
|
RE: RE: [Down-n-Out]]Moving into white space
Quote:
Well, first this would have to be collapsed before removing another tile: X1323 X2233 12323 Then you ask what happens if the 3's on the right hand side are removed? X132X X22XX 1232X then collapsed down: X13XX X222X 1232X then right: XXX13 XX222 X1232 |
|
#12
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
Lets say we have
1223 2123 1123 and we delete : 1XX3 21X3 11X3 after collapsing down and right we should have : XX13 X213 X113 OR : X1X3 X213 X113 What i am trying to say is this : When we are collapsing to right we move each tile separately or whole collumns? I believe seperately but just trying to clarify. |
|
#13
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
XX13
X213 X113 separately would be correct. |
|
#14
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
Just one more doubts
I collapse to right just when I have a blank colum, or each time its possible. example: 1221 2123 1133 - removing 2: 1xx1 21x3 1133 - collapsing down: noting to do - collapsing right: xx11 x213 1133 or stay as is, cause the colum is not empty. 1xx1 21x3 1133 then if I remove 3: 1xx1 21xX 11XX collapse down: 1xxX 21xX 11X1 now I can colapse right cause the colum is full empty XX1X X21X X111 Wich way it the corret one? so many games saw at internet make me confused! sorry my poor english |
|
#15
|
|||
|
|||
|
RE: [Down-n-Out]]Moving into white space
You should collapse every time it is possible...
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [Down-n-Out]]Moving into white space |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|