Hi all,
On Sun, 6 Jan 2013 01:50:41 +0200
Shlomi Fish <shlomif_at_shlomifish.org> wrote:
> Hi all,
>
> in this temporary link -
> http://www.shlomifish.org/Files/files/code/fc-solve/js-port/web_fc_solve.html
> - you can find the beta demo page of the JavaScript port of Freecell Solver,
> which allows it to run completely inside most modern browsers (including I
> think recent versions of MSIE, though I did not test it there). This port was
> enabled by using emscripten ( https://github.com/kripken/emscripten ) which
> is a compiler from LLVM bitcode (which has some open-source C, C++, Objective
> C, etc. frontends, including clang and gcc) to JavaScript. Many thanks are
> extended to Alon Zakai ( https://github.com/kripken ) and the rest of the
> emscripten, LLVM, etc. maintainers and contributors for their helpful work.
>
After some improvements, I have made the js-fc-solve page live on the Freecell
Solver home page:
http://fc-solve.shlomifish.org/js-fc-solve/text/
I added it to the navigation menu, and added a link to the top of the front
page (and plan to add a large colourful button with ( float : right; ) soon as
well there.
There's still a lot of works that needs to be done, and the page loads quite
slowly (and hangs some browsers for a while), but it should be usable.
I'm planning to improve the UI a little as well, but would rather not end up
with something like the dialogue box here:
http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html
. At least the themes/presets/"-l $foo" feature of Freecell Solver mitigates a
lot of the complexity away.
Regards,
Shlomi Fish
> The port took quite a long time and involved a lot of trial and error, but it
> was faster than translating the code manually, improved the Freecell
> Solver build system and code, and also resulted in some bug reports for
> emscripten.
>
> There's still a lot of work to do there, but the page is functional now, and
> you can play with its limited functionality. Some of the TODOs if you want to
> give a hand are:
>
> 1. Get rid of memory leaks - release all resources.
>
> 2. Validate that the entered board is legal (using regexes and associative
> arrays).
>
> 3. Adapt https://github.com/pharrington/Solitairey to be a GUI/Web UI
> interface.
>
> 4. Support more presets.
>
> 5. Support more types of solitaire games.
>
> Regards,
>
> Shlomi Fish (in what he hopes will not be a monologue of him talking
> to himself).
>
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
List of Portability Libraries - http://shlom.in/port-libs
Chuck Norris is the ghost author of the entire Debian GNU/Linux distribution.
And he wrote it in 24 hours, while taking snack breaks.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on Sun Jan 06 2013 - 11:36:53 IST