| Software Secret Weapons™ |
Gang Of Four Software Design Patterns Java Script Crossword posted by Pavel Simakov on 2007-05-07 16:14:42 under AJAX
|
|||||
|
Couple of month ago I have finished the JavaScript Crossword puzzle engine.
It is a complete JavaScript application generator that takes a list of words and their definitions and spits out a working JavaScript crossword.
You can see how the engine works by playing with Gang Of Four Software Design Patterns Crossword
The JavaScript crossword engine is a closed-source at the moment.
I was planning to collaborate with some folks from the Ontario Private School system as we did on the Google maps JavaScript framework for the Ontario Private
The JavaScript crossword engine was an attempt to create an interactive competitive educational product for a school. The children of various ages (and native languages) could solve the crossword and other puzzles while being in the class in the real-time. They could even compete with each other by solving one large puzzle collaboratively, while keeping the individual scores. The crossword competition concept is very cool! I might tell you a bit about this in some future posts.
Another application was considered in the creative advertising.
One can create a crossword that, instead of the textual questions, shows the product pictures and asks the player to spell out the product names.
You can see how we use the colored boxes instead of images in the Basic Colors Crossword
The technology of choice is JavaScript. I continue to invest in the design and the architecture of the JavaScript applications. It seems to me that a lot of leverage can be gained in development of e-commerce and web applications by finding and reusing the proper abstractions in the user interface alone. The development cost of web apps can be reduced and the quality can be improved - dramatically!
On this path, the JavaScript allows me to practice the XML DOM GUI programming, without the need to actually deploy Microsoft XAML
The effective use of CSS was another area to practice in this project. Being in HTML and JavaScript since 1994, I used to leave CSS to the designers to worry about. Now I try to design the general approach to using CSS and the application skinning as a part of overall design of JavaScript application. As a result, the crosswords are styled exclusively with CSS and fully support skinning. I still have a little bit of work to do on using Attribute Acquisition in CSS to its fullest.
The words weaving turned out to be a very hard algorithmic problem and I am very happy that it is all solved now. I did not find any good recent open-source implementations, only an ancient one in C. I hope to see new crossword words weaving interview questions to replace the string reversal.
Comments (7) Leave a comment |
|
|||||
| Copyright © 2004-2007 by Pavel Simakov |
|
Comment by Gavin Vincent — August 9, 2007 @ 11:34 pm
I am completely blown away by your javascript crossword.
I thought I would e-mail you after reading your passage and see if you would allow me to use your engine for my site. I am the lone developer of a quiz site I have created called QuiZium (www.quizium.com). If you would let me use your generator this would greatly compliment my site.
Thanks and great work. I really admire your skills.
Gavin Vincent
Comment by rex nedoil — December 12, 2007 @ 12:50 pm
his is an excellent app. I too would love to use this on my blog, if you let me. After reading your bit about Javascript, I am now seriously contemplating crossing over to the development side of town :)
Comment by Horst Reinelt — December 27, 2007 @ 5:31 pm
Hi, this Crossword Puzzle is really great! We would like to use the game adapted on our non-commercial volunteer fire fighter website.
With hope of a response
Horst
Comment by Shorty — February 5, 2008 @ 2:51 pm
Hi! I have searched for more time a script to create a crossword online but nothing is perfect like your script!! I would like to use this for my non-commercial website, only for fun and learn!
Bye :)
Comment by Reni — February 22, 2008 @ 7:21 am
We´ve just found your script. We would like to use your script on our german non comercial kids page.
Comment by Thomas Johnson — May 8, 2008 @ 10:47 pm
You guys are my heros, I would love to read your beautiful source code so I can learn and become a better person.
Thanks so much!
Comment by tony — July 14, 2008 @ 10:13 pm
hi
I ‘ve been written to you for awhile for the crossword generator code but have no response from you. I am sure if you get my email so i di it again. Sorry to bother you.
thanks.