This is a tiny tutorial on how to run a Javascript file from the Media folder.
I went looking for the easiest possible approach to run a chess program on AI2 with full source code access. No extensions were used, so this should be runnable on iOS too.
So here's the source blocks:
The takeaway for me is the http://localhost/ prefix to the Media folder file name.
(I'm just dipping my toe into Javascript.)
Credits:
Javascript chess engine courtesy of
https://nanochess.org/archive/toledo_javascript_chess_3.html
by Oscar Toledo G.
The aia:
chess_toledo.aia (3.3 KB)
Sample suicidal run:

