SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Boston, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Created with JavaScript: World of Solitaire

    Over the past few months I've been working on a new website.

    Although I am not yet fully finished with it, I thought I'd give fellow JavaScript developers a sneak peek.

    It's an implementation of Solitaire using JavaScript and the Yahoo UI (YUI) JavaScript library.

    The website URL is: http://worldofsolitaire.com

    For those that don't feel like actually going, here is a screen shot:



    It currently has 11 different variations of Solitaire including Canfield, FreeCell, Forty Thieves, Klondike, Pyramid, Spider and Yukon.
    I'm working on adding more.

    Components of YUI that are used include animation, connection, container, dom, dragdrop, event, reset, slider and treeview.

    I routinely test it to ensure it works okay using the following browsers: Firefox, Opera, IE7, Safari (win32) and Konqueror.

    The code is minified however you can view the complete un-minifed code by visiting the following link and doing a View Source in your browser:
    http://worldofsolitaire.com/index-dev.html

    Most of the code is well commented, and I hope easy to understand.

    As I said at the top, it's not yet finished.
    Things on my to-do list include:
    * Nicer looking and more detailed statistics
    * More solitaire games
    * Performance Optimizations
    * Additional features

    Anyways, I'd love to hear any comments anyone might have, or any bug reports

  2. #2
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is so awesome!!! Must have taken u ages!!! congrats! It really is a fantastic project. I've never seen anything like it done in JS before...!!! No bug reports for now. I'll tell you if i come across any.
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)

  3. #3
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Boston, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Quote Originally Posted by JimmyPaddy View Post
    That is so awesome!!! Must have taken u ages!!! congrats! It really is a fantastic project. I've never seen anything like it done in JS before...!!! No bug reports for now. I'll tell you if i come across any.
    Thanks for looking and thanks a lot for the good comments!

    It hasn't taken too long. Less than 2 months so far.

  4. #4
    SitePoint Enthusiast
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nicely done. I think the menu items might be too big, and it takes a while to load after I resize. Other than that, it's pretty quick. It would be nice if I can change the background as well.

    You should also post it in the web site review section to get more feedbacks.
    Comments, Review, Forum Widgets: http://www.nuharbor.com

  5. #5
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Boston, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Quote Originally Posted by randomcode View Post
    Very nicely done. I think the menu items might be too big, and it takes a while to load after I resize. Other than that, it's pretty quick. It would be nice if I can change the background as well.

    You should also post it in the web site review section to get more feedbacks.
    Thanks for the comment.
    Aye, the Menu items may be too big. Maybe I'll play around with the sizing at some point and see if something else strikes me.

    As for the time after resizing, aye, this is high on my to-do list. I'm not quite done with the game yet, so I've yet to really optimize it's performance.
    I intend to profile the resizing code and try and get it to go faster soon.

    In the past few days I've added some new things to the game:
    • A new Card Deck
    • More satisfying 'You Win!' screen
    • Enhanced Statistics including pie and line charts:


    I've also improved performance and fixed several bugs in different browsers.
    I went through and tested it and found it works great in the following:
    • Internet Explorer 6
    • Internet Explorer 7
    • Firefox 2.x (Linux and Win32)
    • Opera 9 (Linux and Win32)
    • Seamonkey 1.14 (Linux)
    • Safari 3.0.2 (Win32)
    • Konqueror 3.5.7 (Statistic Charts don't work)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •