28 comments found.
I uploaded the game to the server. It does not load. Only top nav menu shows up. No cards.
Here is the error in web console. Unhandled Promise Rejection: null promiseEmptyOnRejected promiseReactionJob.
When you load the game in iOS device on iPad no issues, the game loads fine. Also the game loads fine locally. The problem is the game does not load when published to the server.
Please help. I really like your app 
Ok figure it out. Safari Auto play for website is disabled. Once I enabled everything is OK now. Thanks
Hi, I sent you an email about additions I’d like to see if you could make to this code.
Did not get an answer yet so I try via comments: is there an function i can easily call to trigger a new game like: newgame(). Because i can’t just place the same new game button anywhere else.. It’s wrapped in some “event-listener” which is a bit strange.
is the game in construct framework?
Hi, No the game was made with javascript
Hello everyone; I need a push to set up.
I bought the script and I really don’t understand what to do in the manual.
Hello, is your script complete? I don’t understand your documentation. When you say:
Load the stylesheet in the document <head> Now include the tag <solitaire> in your document. Load the game script before the
on Load the style sheet in the document how, or the other thing, is it necessary to have skills in programming? in order to be able to install it?
Yes my script is complete—
you don’t need programming skills, you can either:
- use the index.html that is included in the zip file, unzip the file you download from codecanyon and upload it to a folder in your server. Then access the folder and you will be able to play the game.
- if you want to include the game in other page, there is an example just below the docs, Every line below the numbered instructions is what you should copy/paste in the page you want to include the game in the scripts and style (the content you downloaded from codecanyon) must be in the same folder as the html where you want to include the game if it is not then you must change the path in the script/style (style/style.css, build/require.min.js, build/app) to point to the location where you uploaded it
I have methodically followed your advice, but still nothing. It returns a 403 error with the message “You don’t have permission to access this resource.” The link is : http://jeusolitairegratuit.com/solitiare/index.html
What can be done about it?
In advance, thank you for your availability.
I have just modified the access rights (read, write, execute) of the folder containing the game and of the file “index.html”.
The error is no longer valid but the game remains non-functional. Indeed a blank page is displayed instead of the game.
Ok, The server still can’t read the files-
http://jeusolitairegratuit.com/solitiare/style/style.cssyou may need to add read access to the files and not just to the folder.
it also says something about the .htaccess file, do you have any .htaccess file inside the game folder? if so what is its the content.
After allocating the appropriate access rights to the various files, the game is kept functional.
As for the back of the cards, I found out how to modify it by reading the comments above.
1 ) Is it possible to change the color of the font? If yes, how can I do it?
2 ) I would also like to change the position of the menu to display it entirely so that all its buttons (options) are directly visible without any action.
3 ) Finally, I would like to know how to position ads on the left and right sides of the page.
Hi,
1. you must edit the style/style.css file and change all the places where you find “color: <some-color>”. for example line 8:
color: white;
2. this is a little more difficult because you need to edit the javascript code.
3. you can set the solitaire size to be smaller than the screen size, and put the ad element next to it, something like this:
<div style="display: flex">
<solitaire width="400px" height="600px"></solitaire>
<!-- Suppose the next element is the ad -->
<div style="width: 100px; height: 600px; background: red;" />
</div>
Point three doesn’t work for me. I don’t know if I’m misinterpreting or what?
please send me a link to your website or the html code to my email so I can take a look
Ok, i e-mailed you
Can this game can be played from the filesystem or do we have to load it on the server
You can play it from the filesystem if you load the build file (build/app.js), instead of the unminified source code (app/app.js)
Thanks for the reply. One last question, does it button to mute the sound?
Can we include the solitaire tag inside a div
Yes, it has a button to mute the sound, and you can include it inside a div but you have to give the div a size or use a fixed size instead of percentage size on your solitaire tag
Hi, i have sent you a DM, please reply
Hi, please reply to my message i sent you directly 3 days ago, it is urgent
Hi, I just answered your email.
Hi, I just answered your email.
Hello, I would like to know if the game has difficulty setting, to be set from the code or elsewhere
Also, on mobile view, the number in card is too small to see, can i make css exception to load other sprite when we in mobile view?
Hello sney, I would like to ask ONE simple question and I hope that you will answer it. If you can explain this to me, I will but one of your other games.
How do I disable sound from the start. It autostarts, but I wan’t the users to manually “tick” off sound if thewy wan’t sound.
I don’t know why I didn’t add an option to disable the sound, but I can add it if you like. send me a message through my user page
Hello Sney, is all the source code included, is it very hard to change? I have experience with JS / Jquery and Vue.
Hi,
Yes, all the source code is included. it uses plain javascript (no libraries)
hi,
there is sometimes a problem when moving a king on a free cell of the tableau 
The problem only occurs when moving (using drag and drop) a single king (no problem when moving a group of cards). Can check this please ???
I sorry for the delay.
I will check this issue and let you know as soon as I fix it
several players reported me this problem (under windows).
Thank You for your support …and Happy New Year 
hi,
I just downloaded the source code of the game, and I noticed several bugs: - when you start the game with a double click or tap, the timer doesn’t start - in file build / app.js (or app / app.js), if I modify this: points: {
Move_to_foundation: 33,
Waste_to_tableau: 22,
Foundation_to_tableau: -15,
Turn_card: 55
}
It doesn’t work
I try your online demo and I do not see these bugs… Perhaps I do not have the latest version? Can you send it to me?
Thanks you.
Please send me a message through my profile page
Any news? Have you received my message?
I found another problem in Internet Explorer 11: if you double click cards, it does not work and the game fails (cards can’t move any more or disappears). IE console displays this error: Variable undefined in strict mode (file app/view/main.js)
in function testNCardsFromPile(n, pile, piles) , if i replacefor (i = 0, length = piles.length; i < length; i++)by
var piles_length = piles.length; for (i = 0, piles_length; i < piles_length; i++)
then it works fine 
To fix the score points bug, modify the following lines in the file app/UI/main.js
changeScore("up", points.move_to_foundation || MOVE_TO_FOUNDATION);
changeScore("up", options.points.move_to_foundation || MOVE_TO_FOUNDATION);
changeScore("up", points.waste_to_tableau || WASTE_TO_TABLEAU);
changeScore("down", -Math.abs(points.foundation_to_tableau) || FOUNDATION_TO_TABLEAU);
changeScore("up", points.turn_card || TURN_CARD);
by
changeScore("up", options.points.move_to_foundation || MOVE_TO_FOUNDATION);
changeScore("up", options.points.move_to_foundation || MOVE_TO_FOUNDATION);
changeScore("up", options.points.waste_to_tableau || WASTE_TO_TABLEAU);
changeScore("down", -Math.abs(options.points.foundation_to_tableau) || FOUNDATION_TO_TABLEAU);
changeScore("up", options.points.turn_card || TURN_CARD);
To start the timer on a double click / tap, add this lines in the function “initInternalEvents” (file app/view/main.js)
channel.on('pile.tap', checkFirstMove);
how to compile source ?want to change sound format,ogg not support on iOS
Hi,
to compile the source code you must download the requirejs optimizer, nodejs and uglifyjs. then run the following command from inside the app foldernode ~/path/to/r.js -o mainConfigFile=main.js baseUrl=.
Is it possible to add image instead-of color at the game back ground without hampering the game? Same scenario with card holder at Home section?
Please let me know if it is possible? and how?
Hi,
yes, you only need to edit the sprite image (build/assets/images/sprite.png) with a image editor like photoshop.
card holder is implemented in code (no image) but if you give me the image I do it.
Hi As per my earlier conversation on you comment section :
We required image instead of color at game background and at card placeholder at home section : http://216.152.138.149/require.png
the image at background that we want : http://216.152.138.149/background.jpg the image at placeholder of card at home : http://216.152.138.149/cardbg.jpg
Ok,
I will send you an email when I finish doing the changes.
Hi any update on the above one… seeking your help.
Hi looking forward for your help..
Hi As per my earlier conversation on you comment section :
We required image instead of color at game background and at card placeholder at home section : http://216.152.138.149/require.png
the image at background that we want : http://216.152.138.149/background.jpg the image at placeholder of card at home : http://216.152.138.149/cardbg.jpg
Looking for your help..
In the game we a getting a issue where the timer didn’t start, due to which it create issue in the scoring.
Scenario : When the game load and you get “ace” in the column, double click on that, the card goes to “Home” at that time timer didn’t start, due to which when i move any other card after this, the point again starts from zero
You can see the issue in the below Video link : http://www.screencast.com/t/ltHcduvk9u9QLooking for your help.
Thanks for the bug report,
I have sent you an email with the new code.
Thanks you.
Hi, could you tell me what file I can edit to change the Green Background ?
I tried the docs, but it did not say which exact file ?
Thanks,
-Glen
Looks good, some pointers:
- Tested in iOS 8: Doesn’t work (iPad and iPhone) Loading text shows, but it stops there
- Tested in Safari: Some sound issues (but thats more Safari’s fault and the way it loads HTML5 sound), some layout issues (very minor) and the start animation is bugged (though this is due to the sound. If I turn the sound off, the animation goes smooth, again Safari’s fault)
iOS 8 support is the biggest thing to fix I think
Can you direct me how to re size the cards area? I want to increase the actual size of the displayed cards by about 30 percent. I bought the single license to see if I could easily alter the code. I am going to by the multi-license if I can modify this.
Hi,
You should edit the file app/view/board.js and change the BOARD_HEIGHT variable, by default the board height is about five cardsBOARD_HEIGHT = (Pile.cardHeight + 10) * 5,change it for 4
BOARD_HEIGHT = (Pile.cardHeight + 10) * 4,to test the changes, load the unminified version (app/app instead of build/app) index.html:
<script src="build/require.min.js" data-main="app/app"></script>
I edited the “sprite.png” file in order to change the card’s background to the logo / graphic I wanted to use, but it’s still the default blue grainy card background — even after I saved the new .png as “sprite.png” and replaced the old image on the server. Any idea why it’s not working? I saw in your comments from a while ago that all I’d have to do is edit the sprite.png file and it would change after uploading new sprite.png to server. But it didn’t 
Hi,
Please send me a link to the page where you installed the game.
It’s on my local computer.
In order to edit the back of the cards, what are the steps I’m going to need to take? Is there a breakdown of steps in your documentation that I’m not finding?
I think I know what’s the problem, you should edit the image in build/assets/images/sprite.png no the one in app/assets/images/sprite.png.
Sorry I should make that clear in the documentation.
Okay, thank you for letting me know. That worked perfectly
Again, thanks for the support.
Hi Sney,
I can see that you have added iOS support 2 months ago!
But I can’t play the game iPhone 5 on Safari. It just says “loading…”.
Can you please tell me what’s wrong?
Thanks!