SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Aug 17, 2007, 16:23 #1
- Join Date
- Jul 2004
- Location
- Boston, USA
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Aug 17, 2007, 16:35 #2
- 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)
-
Aug 17, 2007, 17:16 #3
- Join Date
- Jul 2004
- Location
- Boston, USA
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Aug 17, 2007, 18:33 #4
- 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
-
Aug 19, 2007, 10:17 #5
- Join Date
- Jul 2004
- Location
- Boston, USA
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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