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.
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/
My Aphorisms - http://www.shlomifish.org/humour.html
sed and awk make me sad and awkward.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on Sat Jan 05 2013 - 15:50:44 IST