Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old March 5th, 2003, 05:03 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
[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?

Reply With Quote
  #2  
Old March 5th, 2003, 05:08 AM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: [Down-n-Out]]Moving into white space

No. You should always collapse the grid if it can be collapsed.

Reply With Quote
  #3  
Old March 5th, 2003, 05:35 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
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?

Reply With Quote
  #4  
Old March 5th, 2003, 08:21 AM
TCR TCR is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Denmark, Copenhagen
Posts: 22 TCR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to TCR
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?

Reply With Quote
  #5  
Old March 5th, 2003, 11:28 AM
mcoder mcoder is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 130 mcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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

Reply With Quote
  #6  
Old March 5th, 2003, 12:58 PM
marcel marcel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Nieuw Vennep ,Netherlands
Posts: 108 marcel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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

Reply With Quote
  #7  
Old March 5th, 2003, 01:20 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: RE: [Down-n-Out]]Moving into white space


Quote:

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


This example given by marcel is correct.


Reply With Quote
  #8  
Old March 5th, 2003, 01:24 PM
mcoder mcoder is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 130 mcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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

Reply With Quote
  #9  
Old March 5th, 2003, 01:31 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
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:
>then collapse right

XX123
X2322
X1232

No, you get:

X123X
X2322
X1232


The first is correct. You should push as far right on all rows as possible.

Reply With Quote
  #10  
Old March 5th, 2003, 01:52 PM
mcoder mcoder is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 130 mcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: [Down-n-Out]]Moving into white space

What happens in this case, if we choose the rightest 3 ?

1X323
2X233
12323

Reply With Quote
  #11  
Old March 5th, 2003, 02:01 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: RE: [Down-n-Out]]Moving into white space


Quote:
What happens in this case, if we choose the rightest 3 ?

1X323
2X233
12323


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

Reply With Quote
  #12  
Old March 5th, 2003, 10:01 PM
fractalbit fractalbit is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 108 fractalbit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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.

Reply With Quote
  #13  
Old March 5th, 2003, 10:06 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: [Down-n-Out]]Moving into white space

XX13
X213
X113

separately would be correct.

Reply With Quote
  #14  
Old March 10th, 2003, 06:38 PM
neves neves is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Maringá, Paraná, Brazil
Posts: 12 neves User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to neves Send a message via AIM to neves
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

Reply With Quote
  #15  
Old March 10th, 2003, 06:47 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: [Down-n-Out]]Moving into white space

You should collapse every time it is possible...

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [Down-n-Out]]Moving into white space


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek