|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
[DNO] Display of Moves - Question
When &method=display is set how detailed shuld the moves be represented..
Eg: Currently I have this : 1 : Shows what tile-group is removed 2 : How the board looks after its colapse Shuld It display both how it look after a colapse down, and then after the colapse right. Or is it enough to display only the final colapse? Just wondering, still working on the display method, and may include both later... Hope this won't be looked at as a compleatly stupid question, but I just want to be 100% shure. |
|
#2
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Not an official answer by any means...
But, I imagine a sufficient way to oupt would be in <PRE> tags the board after each successive move. Like: 11133 22233 11133 33333 33333 ----- 00000 00000 00111 00222 00111 ----- 00000 00000 00000 00111 00111 ----- done. score = 301 moves = 3 |
|
#3
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
As long as I can follow the progression of moves it will be fine. Just showing after the full collapse is no problem..
|
|
#4
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
I will try many different heuristics and keep the better scor of them. Do i have to display the steps of every heuristic i tried or just (all the steps) of the winning one?
|
|
#5
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Oh, and something more. I decided to add a bgcolor to each cell of the table but i am not very good in color combinations. Could someone post 8 html codes that work well together visually? Or 4-5 and i will find something for the rest.
|
|
#6
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
I use these:
#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 #80ff80 8 colors is anyway painfull to look at, and please don't use bgcolor, use css ;) |
|
#7
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
I think i found a good combination. Take a look here :
http://www.dpgr.gr/fractalbit/sample.html The colors used are : #669966 #ffff99 #ff0033 #336666 #ff6600 #663366 #cccc66 #FFA500 |
|
#8
|
|||
|
|||
|
RE: RE: [DNO] Display of Moves - Question
Quote:
Looks nice, except when your color-blind. I like bright colors more; makes me feel like it's Christmas |
|
#9
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Quote:
Yes, i know, but 8 bright colors, can make you color-blind. hehe |
|
#10
|
|||
|
|||
|
RE: RE: [DNO] Display of Moves - Question
Quote:
Just the winning one... |
|
#11
|
|||
|
|||
|
My colors
Here is my 8-color combination. I have selected them looking for max contrast. I let black for the foreground and white for empty spaces...
#FF0000 // red #00FF00 // green #0000FF // blue #FFFF00 // yellow #00FFFF // cyan #FF00FF // magenta #FFAA00 // orange #7F7F7F // 50% gray |
|
#12
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Ok, here are mine:
#FF0000 #00FF00 #0000FF #FF00FF #FFFF00 #00FFFF #FF8040 #008080 (I spent some time chosing the 2 last colors). I also use a grey #808080 color for empty tiles. JC |
|
#13
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Is there allowed to use additional $_GET vars in the url when &method=display method is used ??
These aditional vars is intended for the display of moves functions. I had problems whit the browser crashing on sertain criterias, and want the viewer to be able to override the changing of method whit thise vars. |
|
#14
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
Hmmm, i was thinking something similar. When i use method=display on very large boards (ex. 50x50x3) the browser crashes. I believe it's ok to use aditional vars if you also implement the basics. For example i think using an aditional $last=X variable that will display only the last X moves of the collapsing.
|
|
#15
|
|||
|
|||
|
RE: [DNO] Display of Moves - Question
As long as I can call the script with what is in the rules, that is fine. If your script then loads more pages, I have no problem with it.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [DNO] Display of Moves - Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|