Re: ANN: Boulder Dash in OCaml
Andreas Rossberg <[email protected]>
| Newsgroups | gmane.comp.lang.caml.inria |
|---|---|
| Message-ID | <[email protected]> |
On 13. Nov 2024, at 00:28, Daniel Bünzli <[email protected]> wrote: > > As WASM support is being merged to js_of_ocaml [0] this is screaming for a web page implementation to taste your own food :-) (and would nod to [1]). > > I quickly tried to compile to js with js_of_ocaml's graphics version [2] but I timed out before getting something functional. Good idea! I also spent an hour just now trying to get it to work with either js_of_ocaml or wasm_of_ocaml, but failed. It builds fine, but with the former I just get an empty page, while the latter produces a mime type error somewhere inside that I don’t quite grasp. I admit that I have very little experience with these tools, or web apps in general. Perhaps somebody more knowledgeable wants to give it a shot… :) Cheers, /Andreas