Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Moves via mouse click[Subject Thread] [Add Response]
wdtr2 wrote on Sat, Aug 22, 2020 05:37 PM UTC:

I hope I am not being a pain/nag, but the moves by mouse click is not working again for me. Sunday 8/22 13:22 EDT. Thank you for correcting this issue in the past. :)


Greg Strong wrote on Sat, Aug 22, 2020 05:58 PM UTC in reply to wdtr2 from 05:37 PM:

Seems to work for me. Can you be more specific? (Paste the URL of the game log that is not working.)


🕸Fergus Duniho wrote on Sat, Aug 22, 2020 06:03 PM UTC in reply to wdtr2 from 05:37 PM:

Today is Saturday, and specifics always help. What is the exact issue you are having, and what can I do to experience the same problem you are having?


wdtr2 wrote on Sat, Aug 22, 2020 07:21 PM UTC in reply to Fergus Duniho from 06:03 PM:

LOL, well I can't tell Saturday from Sunday. doh!

*** Never mind ... I cleared file cache and restarted firefox, it is working now.


wdtr2 wrote on Sat, Aug 22, 2020 07:27 PM UTC in reply to Fergus Duniho from 06:03 PM:

OK, never mind. I just cleared my file cache, and restarted firefox. It is now working. :) Thank you. False alarm. (Sorry about that)


🕸Fergus Duniho wrote on Sat, Aug 22, 2020 09:07 PM UTC:

I can't move by mouse on my iPad2. I have tried Chrome, Edge, Safari, and Dolphin, and they all have the same problem. It will highlight the legal moves when I tap a piece, but when I tap the space to move to, it does not update the moves field or submit the move. It will also not show the requester for multiple move options. My guess is that something in my JavaScript is not supported on the iPad2. This is an older model that doesn't support all modern browsers, and I think it requires any browser it does support to use Safari's WebKit.

I tried H. G. Muller's code with Mighty Lion Chess on Chrome, and it does work. So, it looks like it is something I introduced just recently.


🕸Fergus Duniho wrote on Sat, Aug 22, 2020 09:20 PM UTC in reply to Fergus Duniho from 09:07 PM:

Although H. G. Muller's code let me move as White by tapping the screen, it did not let me move as Black. It had the same problem as my code had from the start.


H. G. Muller wrote on Sat, Aug 22, 2020 09:26 PM UTC in reply to Fergus Duniho from 09:20 PM:

Strange, because I did not see anything in the code that seemed color dependent.


🕸Fergus Duniho wrote on Sat, Aug 22, 2020 09:46 PM UTC in reply to Fergus Duniho from 09:07 PM:

It was hanging at the clearBorders function. This function used a for of loop, which iterates through the values of an array. When I changed it to the older style that matches for in C or PHP, it worked. However, it did display legal moves, and the showLegal() function also uses for of loops. Maybe it just had a problem with using that kind of loop with an array of HTML elements. Anyway, it seems to be the only thing I had to change. Since I was already planning on it, I also removed showLegalFrom() and showLegalTo() while updating this function.


9 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.