«
»


Offline Solitaire, an HTML5 browser application and Chrome application.

Posted by jimblackler on Dec 17, 2011

Click here for the Chrome application

Click here to play online

Does the world really need yet another implementation of Solitaire for the browser? Yes, absolutely!

When I acquired a Chromebook recently I looked for Solitaire Chrome apps (my gaming tastes aren’t particularly sophisticated) only to be disappointed by over-presented apps heavy in Flash and Ad-laden.

I just wanted an implementation of regular Klondike Solitaire that matched the simplicity of the old Windows-bundled version. The one played for years by bored office workers worldwide before the internet took over as principal time-wasting activity.

Also I wanted one that would work offline (when user have no internet connection). Solitaire is an ideal activity on the plane or train.

Another motivation was simply that I felt like writing a card game having never developed one before. Also I wanted to understand how feasible the idea of offline browser applications is.

Here it is, a minimal implementation of classic Klondike Solitaire to be played in the browser, developed with HTML5 technology including JavaScript. It’s also presented as a working Chrome application, that can be installed to Chrome with just two clicks.

It was developed using Eclipse and Chrome Developer Tools. Cards were adapted in Photoshop and Inkscape from public domain and Creative Commons resources.

Click here for the Chrome application

Click here to play online

11 Comments »

Larry:

Great stuff for my green cocoon stays in the forests of Sweden, where data isn’t always in the air.
Thanks!

August 18th, 2012 | 2:10 pm
Gary:

Hello,

Thanks for writing Offline Solitaire. I play it often on my Chromebook.

I’m having a slight problem on Ubuntu 12.04. I’m playing using Chrome Version 26.0.1410.43. I did something to lock up the game and now each time I go back in to play I have a green background with the deck not dealing out to start the game. The “settings” wheel is unresponsive.

I’ve tried exiting the browser and going back in but t hat doesn’t work.

I am assuming there must be a way to reset the data the game uses.

Thanks,
Gary

April 8th, 2013 | 10:24 pm
jimblackler:

This is a problem with the settings wheel not being clickable because the way the game is written currently it does show you the end of the old game when you go back (in retrospect I should have made the redeal automatic when you hit refresh).

If you type this text exactly in the URL bar (you can’t copy paste unfortunately)

javascript:localStorage.clear()

That will reset your game. It’s a workaround but it should fix your issue.

There are other ways to reset the local data probably in Chrome settings.

April 9th, 2013 | 9:08 am

I have been playing your Klondike Solitaire and like the lack of so many additional features, like scoring, and Vegas scoring, and lots of other features that I am not interested in having. Recently, when I am playing a game, a portion of the cards (such as when I have a line of 7, then 6, then 5, etc.) and these cards keep moving. They are not the ones that I could use next, the line of cards just keeps moving and it is distracting and irritating! What can I do to get rid of the movement?
Thanks for your help. I hope I explained the problem accurately.

December 13th, 2016 | 2:11 am
jimblackler:

Sorry Judy. I’m not sure what you’re seeing when you say the cards are moving.

December 13th, 2016 | 2:22 pm

What is wrong with your game. I get it intermittently. When it doesn’t come up it says it’s over it’s quota

November 3rd, 2018 | 4:29 am

I am have a problem with the ace of clubs. Most of the time, it will not let me play it or won’t let me play it until other aces are played. This happens 80 percent of the time.

February 14th, 2019 | 4:14 pm
jimblackler:

An update will go live in the next few weeks. I hope that will fix your problem.

February 14th, 2019 | 4:16 pm
CJ:

I LOVE this OFFLINE game of Solitaire or I did till my computer crashed and now I have can’t find any way to download it for OFFLINE as when I am done with my graphic and production work I DO NOT want to be on any browser after I shut them down. I have not been able to find this app download anywhere and I truly do love this game as it has always been my relax and wind down game, but now I can’t even get it offline I guess. I even went back into the storage of the crashed computer to see if I could find the download .exe but could not find it anywhere in the files. I am so bummed! Please let me know if there is anywhere I can find or get this PLEASE!!!

May 13th, 2021 | 7:46 am
jimblackler:

Hi CJ if you visit the site in a browser, you should be able to bookmark it and return even if your computer is offline. If that doesn’t work for you, could you let me know which browser you are using?

May 13th, 2021 | 5:25 pm
CJ:

Hi Jim, I use google chrome but what I am looking for is how to play without opening any browser like I used to before my last computer crashed. I could close out all my browsers and pull up the solitaire game and play to my hearts content without any distractions and now I can’t do that. I used to have it pinned to my taskbar when it was downloaded before with no problem and with NO browser to open. The only options I see anywhere is to download to chrome but that is the same as being online since I have to have the browser open.

August 21st, 2021 | 8:05 pm
Leave a Reply

Comment