aclap-dev / jocly

Javascript library and tools to provide user interface (2D, 3D, VR) and engine for playing board games
https://jocly.com/
Other
71 stars 28 forks source link

White box in Metamachy. #7

Open raman22feb1988 opened 7 years ago

raman22feb1988 commented 7 years ago

metamachy1 metamachy2 metamachy3

In Metamachy games, sometimes playing as Black, even after choosing one of the 12 choices of initial positions for King, Queen, Eagle and Lion, in the middle of the game, sometimes its white box displays in middle of board and we are not able to see board fully and take turns (please see the attached images for understanding). Sometimes turn passes over to opponent without us taking our turns. Our opponent needs to open up the game from their side to get our turns back again. Playing as White, I have also noticed the move made by opponent not sent immediately sometimes, it requires several attempts or trying out after several hours later on or the need to take our turns on some other device.

Also in the third attached image, please see my opponent's timer running eventhough I have not made any move. My opponent has to repeatedly take into trouble to give away a push for taking my turns several times.

mi-g commented 7 years ago

This is annoying indeed. Did you find a way to reproduce the problem (i mean the White rectangle one) at will ?

raman22feb1988 commented 7 years ago

I do not understand what you exactly mean by 'at will'. Whether you meant that I reproduced the problem intentionally?

Using Google Chrome in my laptop, all the time the white box appears. Using Internet Explorer in my laptop, sometimes (or most of the time?) the white box appears. If that happens, the turn passes to my opponent even when I did not make any move.

To avoid troubling my opponent repeatedly, lately I have been taking with my turns on my Android device only for Metamachy. Before I had installed with my Android app, I sometimes had to keep the Metamachy game browser window open until my opponent opens up the game page in order to avoid with all such problems.

mi-g commented 7 years ago

Yes, reproduced the problem intentionally was what i meant.

Are you able to reproduce the issue from this interface which is an app running the official Jocly code (the one running on jocly.com might be a little behind) ?

raman22feb1988 commented 7 years ago

Actually I think that this problem is relevant only for 'long term' games. This problem occurs when I take my turn today, close the browser windows and then come back again tomorrow.

Using the interface you mentioned above, it seems that I cannot test the problem against a 'long term' game with it. Can I? That means, in order to test the issue from the interface you mentioned above, I need to close the window and later open it from the previously saved state. Is it possible?

Have you not ever encountered with this problem before?

Just curious: By the way, by 'reproduced the problem intentionally', you meant that the problem occurs so frequently that I am able to capture a screenshot of it and attach it over here by or I intentionally posted a non-existing issue by manually drawing a white rectangle on the Metamachy board by using Paintbrush or some other image editor, and then posted a screenshot of it and attached it over here by as if the problem seems to exist?

Why would I intentionally post the problem if the issue does not exist? By the way, why do you suspect that I created the problem intentionally?

mi-g commented 7 years ago

If this issue only appears in long/short term and not in human vs computer (nor human vs human), it might be related somehow to the app and not the lib. This means the bug might not be relevant to the library.

I never meant you faked the issue ! My question was about our ability to reproduce the problem: there is a huge difference between a bug that happens "from time to time" and one that can be reproduced using a known sequence of actions. In the second case we can just put traces in the code and reproduce the issue, this makes finding the cause much easier.

raman22feb1988 commented 7 years ago

I now understood your question.

I think that the problem is relevant only whenever we close the browser window and then come back again later on. In long term games, this is the process that happens. In short term games, the white box disappears as soon as playing as black we choose one out of the 12 possibilities, then I don't think anyone would usually waste their time closing the browser window and then re-opening it.

Only human vs human usually play long term games. Most human vs computer games are usually played as short term games, usually the AI opponents for all games is essentially very weak and it will take very little effort from our own side to essentially defeat the AI opponents. Also, will the game played against AI still be active even after we close the browser window? (I am not going to report about the weakness of AI opponents because I know that implementing with them is going to be a very tedious task and no well defined algorithm essentially exists anyway to do with that type of thing, by the way).

If your question was: Whether I was able to reproduce the problem whenever I want by a known sequence of actions?

My answer would be: Not by a known sequence of actions, but if I use Google Chrome browser window on my laptop, usually most of the time problem occurs. If I want to show and post a screenshot proof of it whenever I want, then I can open Metamachy in Google Chrome browser window on my laptop, and then trying out again and again until the problem occurs. Usually it will only occur whenever it is during my turn and then whenever usually I am only playing as Black side. I mean Black side.

I mean whether there is a separate repository in github or somewhere else to report issues separately for the Jocly.com apps or the Android apps? Which you told that they are not maintained any more. And will be planning to work out upon it as soon as you will have with furthermore developer resources.

raman22feb1988 commented 7 years ago

Not long term / short term. It is long term games and short term games.

For your information: Long term games are those which have time control of minutes per game (plus seconds per move increment). Short term games are those which have time control of days per move.

mi-g commented 7 years ago

I mean whether there is a separate repository in github or somewhere else to report issues separately for the Jocly.com apps or the Android apps?

If you want to keep an archive of jocly.com or Android/iOS apps bugs, you may want to create a github repository named jocly-com-app-bugs and fill the bugs there.

raman22feb1988 commented 7 years ago

Hi, I would like to know with what psychological state you posted the above message. Whether you say about 'creating a github repository named jocly-com-app-bugs and fill the bugs there' happily so that you can refer to that in the future? Or do you feel like I am troubling you such that you rather prefer me in to keeping my rants somewhere else and not to bother you over here by back again?

mi-g commented 7 years ago

As i said several times before, the code on jocly.com is not maintained any more in favour of a more ambitious, clean and open project (but so far less complete) managed from this repository. Still, you keep reporting bugs about the jocly.com app (which is perfectly fine for me), but there is no point adding issues to this project given that no change in the project code can fix the problems in the jocly.com app. This is why i had to close a number of your issues. To prevent your work to be somehow "lost" (even if closed issues remain accessible), i suggested to use github (which has a nice bug management system, running an instance of bugzilla would do too). I will happily subscribe to those bug reports and will follow them as good-to-know notes, without feeling compelled to fix the bugs.

raman22feb1988 commented 7 years ago

Thank you for your input.

Any way, as a new user to the source code, honestly, I do not know which of the issues belong to this repository only and which of the issues belong to the app only. That is why I asked you to moderate as appropriate. App means I thought that those related to Android app, which I had refrained from reporting them all together, for example, board not loading on my Samsung Tablet SM-T805 or I would like to see all 115 games in one single Android app. The issues #8 through #12 which I reported were also related to app? I do not know. I thought that they were all related to the user interface issues only? Or they are not?

By the way, have you really checked out the issues which I have reported so far are really bugs and issues in to the www.jocly.com web site page or Android app only? Or are they not?

mi-g commented 7 years ago

The Jocly lib (i.e) covers:

I keep this issue (white box in metamachy) open because even if it only appears in a specific app configuration (long term games), it is likely to be related to a core lib issue.

raman22feb1988 commented 7 years ago

OK. Let the app related issues list be as remaining with in the closed issues page only, even though it will be remaining as accessible only.

raman22feb1988 commented 7 years ago

For your information: It is not #8 and #12.

8 through #12 means #8, #9, #10, #11 and #12.

mi-g commented 7 years ago

9 #10 #11 are app-only issues too.

As you are a developer, please take a quick look at the Jocly Application API to understand the responsibilities of the lib vs the app.

raman22feb1988 commented 7 years ago

My previous message was just mentioned as 'for your information'. That means it was for explaining to you the meaning of 'through' which you changed to 'and' in your reply. British people :gb: use 'to' which may not be quite clear enough when ever it was used. American people :us: use 'through'. So, I used it up because it may be quite clear enough when ever it is used. May be you as a French person :fr: I assume that you might likely, had most probably already did not know the meaning of that word before previously.

You had already replied for #8, #9, #10, #11, #12 in their appropriate threads before previously. So, quite honestly enough that means I was not expecting a reply from you at all! :smile:

Or it was only just an over sight simply, quite clearly enough? :india:

ecobabush commented 6 years ago

@raman22feb1988. You have written about the issue in some browsers. Could you try this game in latest Mozilla Firefox?

raman22feb1988 commented 6 years ago

I would like to suggest a correction: I have mentioned that this issue occurs only when playing as Black. No, it is not. I have also encountered this issue even when playing as White. If it occurs, then turn switches over to opponent without ourselves taking our turns and we have to wait for our opponent to log in into the game to pass the turn to us back again, thereby troubling them and without themselves making their move, thereby only wasting time.

To avoid all such nasty outcomes, I have recently been only taking my turns in Metamachy by using my Android app and not www.jocly.com website at all. A few days ago, Chess 960 also resulted in some strange behaviour, of course, only in the www.jocly.com website and not in the Android app at all. In Metamachy, one of the 12 different starting positions for King, Queen, Lion and Eagle have to be selected in the first move as Black manually. In Chess 960, one of the 960 different starting positions for home rank pieces have to be selected in the first move as Black automatically. Why do they appear later in the game?

fischer random chess2

By the way, I have never faced this issue with the Android app, either with Metamachy, or with Chess 960, which is to be planned, before itself.

@ecobabush, Just curious, may I know about why you suggest trying this game around in latest Mozilla Firefox? In my humble opinion, this issue should not occur in any browser. I have encountered this issue with Microsoft Internet Explorer, Mozilla Firefox (not the latest one) and Google Chrome. Have you encountered with such issues before itself whenever you were playing either with Metamachy, or with Chess 960, by using different browsers, which is to be planned, of course, only by using www.jocly.com website and not by using Android app at all.

I will try this game by using latest Mozilla Firefox later today. If the issue occurs, then the turn passes over to opponent without ourselves taking our turns and they have to log in into the game to get our turn back again. I am trying to avoid all such unpleasant outcomes.

By the way, @ecobabush, are you playing any games in the www.jocly.com website? If so, then what is your user name?

If this issue is rather quite a little bit insanely difficult for you to figure out right now, then you might consider working out upon issue #18 (Popout: Clicking on bottom most row), issue #19 (Winning move in Mana) and issue #22 (Chopsticks - cancel selection of one hand and selecting another hand) at the first place.

(I will post the result after trying this game with latest Mozilla Firefox later today. So, I will have to download it, install it and then update the currently existing one presently in my laptop computer? Just for fun, as a joke simply, when trying this game by using latest Mozilla Firefox, I will take 100 trials of opening this game and then post the result as a percentage of how many trials this issue really occurred, either with Metamachy, or with Chess 960, which is to be planned, quite before itself!

So, after all, I will have to take all my turns in Metamachy, and even in Chess 960 before I could be able to test this game by using latest Mozilla Firefox, download it, install it and then update the currently existing one presently in my laptop computer. I am quite a little bit busy right now, I will be rather free enough today night. Or I can test the game in which it is not my turn at all.)

ecobabush commented 6 years ago

@raman22feb1988 You should not update your Firefox. I did not know that you have tryed it before. You had written about IE and Chrome only. The results was different. As I know all these browsers have different javascript engines. So I thought the Firefox might be the alternative to try avoid this issue.

I do not play at Jocly.com site. I play on PC sometimes. I am a very beginner in learning programming.

@mi-g raman wrote:

I would like to suggest a correction: I have mentioned that this issue occurs only when playing as Black. No, it is not. I have also encountered this issue even when playing as White. If it occurs, then turn switches over to opponent without ourselves taking our turns and we have to wait for our opponent to log in into the game to pass the turn to us back again, thereby troubling them and without themselves making their move, thereby only wasting time.

I have encountered with issues very like written above by raman in playing on PC in some chess variant. So the issue about Freezing in Demi-chess and Malett chess, I guess, is the SAME one. Now, after Raman's words, I think that the freezing in games is just "turn switches over to opponent without ourselves taking our turns and we have to wait for our oppenent..."

Congratulations.

ecobabush commented 6 years ago

@mi-g raman wrote:

To avoid all such nasty outcomes, I have recently been only taking my turns in Metamachy by using my Android app and not www.jocly.com website at all. A few days ago, Chess 960 also resulted in some strange behaviour, of course, only in the www.jocly.com website and not in the Android app at all.

and:

By the way, I have never faced this issue with the Android app, either with Metamachy, or with Chess 960, which is to be planned, before itself.

I had thought that issue was in the joclyboard, not in jocly lib. And that this issue happens in different chess variants might means the reason is not in that variants (or they all was made by copy-paste method) but in some generic file.

So, I guess, if you (@mi-g) could take a look in Android app's code and then in Joclyboard code(and the same stuff on you jocly.com server), you would find the difference, that causes this issue.

@mi-g What do you think of it?

mi-g commented 6 years ago

So, I guess, if you (@mi-g) could take a look in Android app's code and then in Joclyboard code(and the same stuff on you jocly.com server), you would find the difference, that causes this issue.

Do you mean you have the bug in JoclyBoard (the Jocly desktop application from here) ?

The JoclyBoard app is 99.9% different from the Android app, in addition of running over different platform and browsers, so just comparing the codes is not the way to go.

ecobabush commented 6 years ago

Yes. https://github.com/mi-g/joclyboard/wiki/Installing-JoclyBoard-from-Github

mi-g commented 6 years ago

Damned. Have you been able to reproduce the problem in Jocly Core demo web app ? It's easier to get console traces from there compared to from within JoclyBoard.

raman22feb1988 commented 6 years ago

I would like to suggest a correction: I have mentioned that this issue occurs only when playing as Black. No, it is not. I have also encountered this issue even when playing as White. If it occurs, then turn switches over to opponent without ourselves taking our turns and we have to wait for our opponent to log in into the game to pass the turn to us back again, thereby troubling them and without themselves making their move, thereby only wasting time.

And also please consider adding to it the following material by taking this into account, still, as of yet: Sometimes, if this issue occurs to me, then during the next turn of my opponent, he has trouble sending his move, I guess (may be that is only by using Android app?), based upon some of the reports which some of my opponents have mentioned to me. I think that I have already mentioned about all of these types of things above before itself, in the first post itself, and right now I am just simply repeating it again to be put forward with, consistently all of these types of issues and problems into one single place altogether.

I do not play at Jocly.com site. I play on PC sometimes. I am a very beginner in learning programming.

Seriously, is whatever you say is true? Are you really a very beginner in learning programming? Then, you are working very hard and doing an excellent job. I cannot believe it by myself, still, as of yet. I would like to know: how old are you right now and what city do you live in right now. I am right now 29.58 years old and live in city of Chennai, India :india: right now.

I have encountered with issues very like written above by Raman in playing on PC in some chess variant. So the issue about Freezing in Demi-chess and Malett chess, I guess, is the SAME one. Now, after Raman's words, I think that the freezing in games is just "turn switches over to opponent without ourselves taking our turns and we have to wait for our opponent..."

Just curious, do you play in PC against computer or against a real person? If you play in PC against computer, then how can games which are open, and not closed and loaded again later freeze? All the time, I have faced with this issue only when I have closed the game and loaded it again later, i.e. a long run game. I have not faced with this issue at all in a short run game, in which in the ongoing game, the play is in progress and the browser's window or tab of the playing game is already kept open.

By the way, does freezing in any particular sense not actually mean of that getting struck or hanging up of any given software application and it is getting as not being responsive to any of the user's inputs and actions at all?

@raman22feb1988, You should not update your Firefox. I did not know that you have tried it before. You had written about IE and Chrome only. The results were different. As I know all these browsers have different javascript engines. So I thought the Firefox might be the alternative to try avoid this issue.

Just curious, why do you say that I should not update with my Mozilla Firefox? Never mind about that type of thing at all. Just because you had requested for it, I will simply test whether this issue occurs with the latest version of Mozilla Firefox. No problems for me at all. Simply, I was only just rather quite a little bit busy earlier.

@raman22feb1988, You have written about the issue in some browsers. Could you try this game in latest Mozilla Firefox?

Obviously that this issue occurs only with 2D board and not 3D board. Also that 3D board is rather quite a little bit confusing to play with, so I must default playing with the 2D board only, usually by disabling WebGL by default, even if it is supported by using PC or mobile device, actually. And also that this issue does not occur upon www.jocly.com website pages by using PC with any completed games or while watching games played between two other different players. May be only that this issue is relevant with games played by ourselves, especially during our own turn, and sometimes that I have also encountered this issue in games played by ourselves, whenever it is not our own turn also.

So, if only the PC is available with us and not the mobile device, then if this issue occurs, then one of the solutions to avoid repeating with this type of problem from being happening again is to keep the Metamachy or Chess 960 game open by logging in into the game again and again until this issue no longer occurs, and if it is my opponent's turn, then wait for him to log in into the game, then whenever he does so with, you can take your turns without any problems at all. You can do so with this same type of thing with all the Metamachy and Chess 960 games whatever you have got into play like those types of ongoing games.

So, a few hours ago, as you had requested to me, I had tried this game in latest version of Mozilla Firefox. I have safely taken all my turns of Metamachy and Chess 960 with my Android app before testing with it, to avoid all possible undesirable results. I had tried opening Metamachy and Chess 960 games at least ten times already in latest version of Mozilla Firefox. This issue did not occur whenever it was not my turn. I will also attempt to load them again whenever it is my turn and update to you later with my own posted results later. Unexpected surprises will result during diagnosing with all the existing problems and issues available, in order to test this game in latest version of Mozilla Firefox. What to do, yourself please tell me about it. In order to evaluate and debug with any problem, we must always be preparing with ourselves into taking risks with all the unfortunate consequences, like these types of things, to be put forward with, altogether.

By the way, whenever I was testing for this bug in the latest version of Mozilla Firefox, as it was, a few hours ago, the Java Script was taking a lot of time to run which slowed down opening of My Tables or any other ongoing games in play. There were also several virus attacks which constantly opened up advertisements and some other unwanted pop up windows. May be that this mentioned issue is within my own PC only. So, given with all such trouble like that type of thing in place within Mozilla Firefox, please consider by taking this into account that this specific problem will certainly outweigh the challenges needed to test for this bug in the latest version of Mozilla Firefox.

ecobabush commented 6 years ago

@raman22feb1988 I don't know how jocly.com works (free or not). But if it is free, then maybe it is better for you to make your new account for testings (not use old account).

I am a little older that you. I am an Orthodox Christian, Russian, living in Russia. I play vs computer engine and do testing without engine (Play for both sides (human vs human). Not play indeed, but do testing of moves for each sides (black and white)).

I speak English a little, therefore sometimes it is difficult to understand your messages. After your words I think you should not testing in Mozilla any more. I think there is no need for testing at all, because 1)we know about issue and 2)mi-g is going to rework all the code. Because you play at jocly.com and we make bugfixes in this new lib. Therefore jocly.com will be still the same untill mi-g will make rework of all code. So when he will done all his work this issue will disappear and new ones will come (I guess). So I think this is no logical waste of time for this testing. It is better just play. (because you test one project but we make bugfixes in another project).

I suppose now that if you will be playing another chess variants (move per day manner) with your network opponent this issue will occur again.

ecobabush commented 6 years ago

I just have played a hexchess variant.

turn You can see the settings. I play as white (human) and computer plays as black(jocly-medium). But on the background (on the board) you can see that actually I manage black knight. Pressing save button changed nothing.

This is why I say that Freezing in Demi-chess and Malett chess and THIS ISSUE is the same. And that the resource of issue maybe joclyboard. I have to say one analogical issue. When I open program. It is in a 3D view. When I open menu to change view into 2D, then popup window "View Options" is opened with text that says skin is ALREADY in 2D classic.(Really it is 3D, but in popup window it is written 2D). Then to change the view into 2D I firstly have to choose 3D view and only then to choose 2D view. After that the background view is changed and then I press SAVE button and continue to play with real 2D view.

mi-g commented 6 years ago

Thanks. That's definitely 2 bugs: 1/ wrong player turn 2/ wrong initial skin display in options

It is important we understand in which project the bug is located: jocly or joclyboard, as these are very different codes and concerns.

It looks like 1/ is in jocly, if so can we reproduce it in the demo app ? It would be very useful you attach to the bug entry the saved game so we can reproduce the problem easily.

2/ is very certainly in joclyboard , you may want to open a new bug for this.

ecobabush commented 6 years ago

I have played new game. I moved, AI moved, I moved, AI moved, freezing. I opened Players pupup window to see. Then pressed save button. Then made one move and right after my move the black figures became highlighted like I should now make my move with black. I made move with black. And what? White figures made move! Now white is copmuter AI. I moved black. AI moved white. Freezing. I opened Players popup window. Simply press save button. And what? AI again moved BLACK. And what? Will I move white? No. It it freezed. I again opened Players popup window. Again simply pressed save button. And what? It is still freezed. Now full stop. Then I took a look on Terminal window. There is the next text: (node:6289) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 's' of undefined (node:6289) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:6289) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot read property 's' of undefined (node:6289) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot read property 's' of undefined (node:6289) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): TypeError: Cannot read property 's' of undefined

ecobabush commented 6 years ago

As you can read, the issue is WRONG PLAYER TURN. But when I opened popup window "Players" and simply saved, then turn was changed. It was two times only. Then full stop. Therefore Joclyboard changed turns twice. Doesn't it say the reason maybe in Joclyboard, not in Jocly lib?

mi-g commented 6 years ago

I think it's a JoclyBoard issue, not Jocly lib. The app (JoclyBoard) requests a user input while on a machine turn (black). The errors you see in the terminal are a logical consequence of the problem. My problem is that i cannot reproduce the issue on my side:

  1. open JoclyBoard
  2. start a Glinksi game, human vs computer
  3. play a move
  4. machine plays a move
  5. play a move
  6. machine plays a move
  7. open "Players" dialog
  8. click "Save" to close the dialog
  9. play a move
  10. machine plays a move normally

Is it what you do ? Can you reproduce the issue every time ?

ecobabush commented 6 years ago

The problem still could be in Jocly lib. Just Joclyboard interacts with lib. Then when app sends signal in lib, lib could not to handle that signal right because of bug. @mi-g no. For sometime do not think about this issue. I am going to make some testing. BUT you BETTER help me understand WHEN I will send you email instead of sending me to google group.

ecobabush commented 6 years ago

@mi-g I have jocly and joclyboard repos in my github. I play jocly as "npm start" in terminal. The question to you: I play joclyboard from my github, not yours. Then If I will make new chess variant in lib in my GitHub, how this variant is going into Joclyboard. Automatically OR by configuring some files? If Joclyboard and Jocly in my github are on one location, then maybe joclyboard automaticcally pull jocly from my github, or from your github?

mi-g commented 6 years ago

BUT you BETTER help me understand WHEN I will send you email instead of sending me to google group.

Please don't take it bad, but over my projects, i have more than 250 million users. So, when someone asks a question and i can take the time to answer it, i want the discussion to be public, on google groups or github or whatever platform, so that other people can benefit the information without having to re-ask.

Then If I will make new chess variant in lib in my GitHub, how this variant is going into Joclyboard. Automatically OR by configuring some files? If Joclyboard and Jocly in my github are on one location, then maybe joclyboard automaticcally pull jocly from my github, or from your github?

For JoclyBoard to enable a game (new game or modified one), JoclyBoard must be built using the jocly repository containing this game. There is no additional config to do. By default, when you compile JoclyBoard, it will use the official jocly dependency that is published on npmjs, so it won't contain your game. To change this behavior, search for command npm link on the Web. This command allows to use a local git repository (your jocly project you are working on) instead of the default one. This is the way to create a JoclyBoard application that includes a game not yet published in the official jocly project.

raman22feb1988 commented 6 years ago

@raman22feb1988, You have written about the issue in some browsers. Could you try this game in latest Mozilla Firefox?

By the way, as you had requested to me before itself, I had tested for this bug in the latest version of Mozilla Firefox right now, in the games of Metamachy and Chess 960, whenever it is my own turn. As far as I have tried, this issue did not occur, still, as of yet. I will keep you posted and updated, if on any future attempts, this issue in fact occurs in the latest version of Mozilla Firefox.

On the other hand, on other browsers, usually like Microsoft Internet Explorer, Google Chrome and even an older version of Mozilla Firefox, sometimes whenever I had faced this issue, I rarely and occasionally encountered with an 'Out of sequence' error before itself. (This is actually certainly during one of the worst cases of all the times at which whenever this bug will be occurring).

fischer random chess3

ecobabush commented 6 years ago

I have written above that I am going to check something. Before that statement I thought I used not right method to check. When I made bugfixes I tested them through changing minified js files. It works. But I think some bugs maybe linked with that aproach. I was going to use offical method. But my knowledge is not enough. Therefore I say today I can't do that testing. Maybe later I would try with offical joclyboard with bugfixed jocly lib.

raman22feb1988 commented 6 years ago

mi-g might be very busy at the moment, most of the time working upon some other project that has value of 250 million users into the number and pays the bills for the Jocly project and his own personal purposes. (Out of curiosity, may I know what project is that?)

But, some other contributors might be willing to look it this issue. For better understanding of this issue to them, I had decided to make some video clips to demonstrate this issue to them furthermore clearly. I do not think that this issue will be very much easier to fix, but one thing can be done is to avoid the dummy move of selecting of the royal pieces starting positions manually for Metamachy and to avoid the dummy move of shuffling of the home rank pieces starting positions automatically for Fischer Random Chess and try out with some other alternative.

Dummy moves in Mana and Musketeer Chess do not have any bugs and they are done manually. Dummy moves for Metamachy and Musketeer chess, in my humble opinion, can be done along lines similar to Mana and Musketeer Chess. But, I am not sure what new bugs will come up or what old bugs will go away whenever a new version of Jocly project is released out.

These are the following bugs in Metamachy and Fischer Random Chess that are present in the current version of Jocly project whatever may not be maintained any more, or can show up even if whenever a new version of Jocly project is released out.

  1. White box in Metamachy occurs whenever the 12 starting positions of royal pieces which is prompted to choose from manually as a dummy move during the first Black's move, appears later in the game. Please note that there are 12 other equivalent mirror images of it. If it occurs, then the turn passes to our opponent without ourselves taking our move and we have to wait for our opponent to log in into the game for us to get an opportunity to be able to take a turn back again.

https://www.youtube.com/watch?v=sB5SebysBOU https://www.youtube.com/watch?v=xJ8Osr8m1Xw

  1. Also the shuffling of the home rank pieces starting positions in Fischer Random Chess which is automatically done as a dummy move during Black's first move, appears later in the game. Bishops are supposed to be remaining in opposite colours and king is supposed to be placed inbetween the two rooks. If it occurs, then the turn passes to our opponent without ourselves taking our move and we have to wait for our opponent to log in into the game for us to get an opportunity to be able to take a turn again.

https://www.youtube.com/watch?v=J8DwTqSGhm0

  1. If the turn passes to our opponent without ourselves taking our move, then opponent gets an 'Out of sequence' error whenever the weird behaviour also happens to them. Here, the weird behaviour means the dummy move whatever is done as the Black's first move in Metamachy and Fischer Random Chess appears later in the game.

https://www.youtube.com/watch?v=9zxK1vyB8ZE https://www.youtube.com/watch?v=DbhysGx8EFw https://www.youtube.com/watch?v=6ReYtFQ2FMI https://www.youtube.com/watch?v=2yufdpJCVeg

  1. If our opponent gets an 'Out of sequence' error, then in the next subsequent move, we have trouble sending our move until probably our opponent logs in into the same game back again.

https://www.youtube.com/watch?v=zIm5xTop_TY

There is one dummy move in Metamachy (of choosing of one out of 12 possible starting positions for royal pieces manually done as Black's first move along with 12 other equivalent mirror images of it). There is one dummy move in Fischer Random Chess (of shuffling of one out of 960 possible starting positions for home rank pieces automatically done as Black's first move with bishops to be remaining in opposite colours and king to be placed inbetween the two rooks). There are two dummy moves in Mana (of choosing of one out of 4 possible playing directions of the board and one out of 5544 possible starting positions for five Ronin pieces and one Damyo piece among 12 squares whatever are the two nearest rows to us, that is of our own side manually). There are three dummy moves in Musketeer Chess (of choosing of one out of 45 possible different pairs of Musketeer Chess pieces among 10 of them and one out of 56 possible different starting positions of Musketeer Chess pieces among the 8 of the places behind the home rank pieces starting positions manually).

So, the actual numbering of moves starts from 0 for Metamachy and Fischer Random Chess, -1 for Mana and -2 for Musketeer Chess.

mi-g commented 6 years ago

mi-g might be very busy at the moment, most of the time working upon some other project that has millions of users and pays the bills for the Jocly project and his own personal purposes. (Out of curiosity, may I know what project is that?)

Since you asked: Video DownloadHelper

raman22feb1988 commented 6 years ago

Since you asked: Video DownloadHelper

Sorry, that you had posted reply to my previous message before I finished sharing the link to my video clips in my previous message. I was unable to directly attach video clips to the Github issues as I could do it for images and so I have to upload my video clips to YouTube before sharing the link to them. You may right now look at the link to my video clips shared for furthermore better understanding of this issue. :smile:

Also, worthwhile are looking at the following video clips: https://www.youtube.com/watch?v=nl4L-ExpBfw https://www.youtube.com/watch?v=3pZ44wwTI8k https://www.youtube.com/watch?v=38jMVKSzpJ4 https://www.youtube.com/watch?v=LJoRGuUIeu8

mi-g commented 6 years ago

You are doing an outstanding job at digging into those bugs. We count on you to do the same when the new platform, based on the code of this repository, will be released.