#101 · The_Burglar
20 May 2014
Public forum discussion.
20 May 2014
20 May 2014
@ghardegh: Use firefox; download the "firebug" plugin; pull it up when you're on your amazon game; click on the element inspect icon that looks like a cursor arrow over a rectangle (or shift-control-c); click on one of the board cells; click on the "style" tab on the right side of the firebug panel; scroll down to the "table" element, and disable both of the styles defined (both related to borders) by clicking on the icon nect to them. Tada - grid spacing will magically appear, and you can plan your move. Note, however, that you will need to do that with every game individually, and as soon as you click on one piece in order to move it, the page reload will reset the grid spacing back to zero again, so plan your whole move in advance while you have the lines.
Or that's what I do. Committed to motor memory it's not as much of a hardship as it sounds, but is still too much hassle.
Fixing it should be as simple as adding this to a stylesheet:
.grid { border-collapse: separate; border-spacing: 1px }
And making the table-based boards say:
20 May 2014
say
|
|
20 May 2014
In theory, it should be possible to fix a lot of these issues using greasemonkey.
I did try to turn off the display: none for the collapsed side menus (messages, and forums), but greasemonkey was completely refusing to cooperate with me. (I can get it to pop up an alert with a static string which proves that the code is being called, but nothing else.)
20 May 2014
Very much work in progress - this fragment in Greasemonkey does expand the side menus:
var SM=document.getElementsByClassName("sub-menu");
for(var x=0; x; ++x) {
var menu=SM.item(x);
menu.style.display="block";
}
I'll release a proper module with a whole load of fixes eventually, but until them I'll post each tweak as I discover it, here. Next target: Amazons!
20 May 2014
This will put the gridlines back in an Amazons board:
var Title=document.getElementsByClassName("page-title").item(0).innerHTML;
if(Title.match(/Amazons/)) {
var Ts=document.getElementsByTagName("table");
for(var x=0; x<Ts.length; ++x) {
Ts.item(x).style.borderCollapse="separate";
Ts.item(x).style.cssText += " border-spacing: 1px";
}
}
20 May 2014
This will pull the players/info/moves column to the right, so that it doesn't overlap the game board so much on narrow screens:
var PP=document.getElementsByClassName("col-lg-3").item(0);
PP.style.cssFloat="right";
20 May 2014
Note - don't use the "smart" quotes, use "real" quotes. I'm typing real quotes, obviously, but the wonderful markup engine is helpfully mangling them for me. Deep Joy.
20 May 2014
20 May 2014
Pardon?
This makes the Dots & Boxes board a bit more playable by stretching it in the x direction as much as its been stretched in the y direction. I just can't get it to shrink the heights (I think it's related to font sizes, as if you change font size, those fat rows get slimmer):
if(Title.match(/Dots/)) {
var Ts=document.getElementsByTagName("table");
for(var x=0; x<Ts.length; ++x) {
// Attempt 2: widen the narrow images, the TDs will grow to fit
var IMGs=Ts.item(x).getElementsByTagName("img");
for(var y=0; y<IMGs.length; ++y) {
//alert(IMGs.item(y)); break;
if(IMGs.item(y).width==3) {
IMGs.item(y).width=19;
}
}
}
}
20 May 2014
Note: Remove the //alert, and place that block after the var Title= ... line from the Amazons hack above.
20 May 2014
Scratch pretty much all of the above. Richard's changed the pages, and none of the things those greasemonkey snippets looks for are there any more.
And after spending several hours looking at the structure of the HTML, things are now *worse*.
Fuck this for a game of soldiers. Richard can break my fixes quicker than I can write them, it's not a fair battle.
21 May 2014
21 May 2014
21 May 2014
21 May 2014
21 May 2014
21 May 2014
21 May 2014
21 May 2014
21 May 2014
Oh, my, that's hilarious.
Just for reference. I have javascript turned off, and am typing into a horribly misproportoned &tl;textarea>.
I presume you guys have javascript turned on?
21 May 2014
Dots and Boxes are ok now. I have been using SVG technology. IE8 and older are not supported. Maybe some problems on older Android.
21 May 2014
I can't see the SVG on my machine (Firefox 3.6. Debian Old-Stable). Why don't you let us chose whether we use the old- or the new-look site?
21 May 2014
Richard, I play only Go from my iPad, but I really like the new look. It seems faster then before and is easier to navigate. Good job, and thanks for all the work!
21 May 2014
Yay ~ I can move on my phone again!
Many thanks.
21 May 2014
Arrgh !
Still unable to play WYPS -
White letters and corner of the board covered by player info.
Help.
21 May 2014
I'm the same for WYPS, I also have the same issue with Go-39 where the player info is covering part of the board.
All other games look okay now, especially D&B where the fix was much appreciated. Thanks Richard for your hard work, appreciate there has been a lot to do over the last few days.
21 May 2014
Here's something like what I use to shove the player info further to the right: var xs12=document.getElementsByClassName("col-xs-12"); if(xs12.length==2) { xs12.item(0).style.width="67%"; xs12.item(1).style.width="33%"; } It relies on the board and the player info both being in separate divs with class "col-xs-12", and then changes their proportions. That's not exactly what I use, but last time I posted exactly what I used, the page was changed in such a way that it would no longer work, and couldn't even be tweaked to work again. If you look at the source, and the styling, you should be able to work out how to fix it again if it gets broken again.
21 May 2014
When I look at a game in c6 (or gomoku), I can't tell at first glance, who is to move.
It would be nice to have some indicator other than player-black and player-white (both of them in white). The little person icon (although its a font:) before the name could be colored black for one of the players for example.
The game board grid for c6 has a 1 pixel 'tear' vertically every 3rd row in the middle of the square in firefox 29 (in chrome its ok).
Regarding the responsive layout: the player-black, player-white, info, moves list column overlaps the board at some widths ( around 1000px-1100px) -- probably the c6 board is a bit larger than other boards -- the left gray column should disappear sooner.
The default font size for the message textbox in the forum is 13, but if changed can't be set back to 13. (..,12, 14, ..)
thanks
21 May 2014
On laptop with Windows 8.1 and Chrome:
D&B is now OK but Hex13 and Havannah12, which were fine yesterday, are unplayable because the user info covers parts of the board.
Also, the hover menu for games where it's my turn used to be a good way to play only the games I want (the games where I can actually see the board) without going to the my game page between every game. Now that doesn't work because it only shows the first few games on the list with no scrolling possible.
22 May 2014
Using Google Chrome. Shogi is perfect now. Thanks. Minishogi still has a minor problem to display piece stands. We need to adjust the window size of the browser to display them properly, but they are okay to use for me. However, I guess some users still may have some problems in displaying piece stands thoroughly unless they know the workaround of adjusting the size of the browsers they are using.
22 May 2014
WYPS problem (see above) now solved - great !
However, EINSTEIN now faces same problem, i.e. player info covering part of playing board.
22 May 2014
Hi. Love the new design. Thanks for all the hard work. Small glitch tough: there's overlap of the graphics on the Hex 13X13 table. It makes a good part of the board not "clickable."
22 May 2014
Re Margot's observation: I am seeing the same thing for hex19 as well. I do find that reducing the zoom on my browser (chrome)
will shrink the board until it slips out from under the text blocks. Workable, but with the downside of making the board a little
harder to read.
22 May 2014
Polyomino is still unplayable on phones. There's no way to zoom out to reveal the whole board.
22 May 2014
Hooray! Since yesterday the graphics in LoA 9x9 overlap too!!
22 May 2014
Hooray for new D&B board :)
22 May 2014
slim design (maybe)
put everything vertical (it's all about the same width)
1 game board
2 game options (resign,skip,send)
3 player info
4 game info
? maybe also zoom buttons (or use zoom preferences [default=everyones average]
22 May 2014
game board focused
1. show game board + general options
2. the rest either right if enough width
or below maybe using same width as game board or screen
22 May 2014
How do you post tables, or html tags?
22 May 2014
for the overlap graphics problem zoom in or zoom out your browser will solve it...
22 May 2014
In the new designthere is an error.The informationof theplayersandlist of moves,is locatedabove thechessboard
22 May 2014
I had a good laugh! Go to the FAQ and read the tab for 'membership'; that's, if you CAN.
(meow)
22 May 2014
With the latest changes, the grid lines are visible on the Amazons board and the player info doesn't overwrite the EWN board. The player info does still overwrite the Hex13 and Havannah10 boards.
22 May 2014
The grid is back! :-) Thank you!
23 May 2014
Bad design!
23 May 2014
hello Richard
Seems like changes to better support tablets and handhelds finaly punch through. Great, thanks a lot.
Flemming
23 May 2014
Thanks Richard, for the improved Polyomino board!
The Little squares are back again!
27 May 2014
Hi Richard, I like the latest layout for EWN, but miss some detail info. Instead I have to tap the [i] button, which is not that easy on my small phone display. Is it possible to show at least the current score somewhere? e.g. 2 / 1 (5), where (5) indicates that it's a 5-point match.
PS: now that I look at it twice, the n-point match indication is also not shown on the [i] info page...!
28 May 2014
1st of all, thanks for the new look... and like it though there's still a glitch in the game area, our games still covering by player info like the 1 shown below... wish, it will be fixed soon..
1 wish more... is to have edit and delete button below in every message board like in this area where i am typing my reply after i sent this message to correct if there's a typo error... or to delete if there's an inappropriate message that is accidentally posted or sent..
but definitely appreciate your hardwork to have this site a new look... and i know that it will take more time or much work to see the great and best result when designing and developing a website... especially in getting the right codes ... and i know also that it does not happen overnight instead it really need the trial and error method to get the viable and creative solution... and to see its effeciency..
so keep on trying... and enjoy while fixing up orworking hard for it..~smile~