General Articles (section introduction)
Vector 12:3, page 63
Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 63
Readers might like to note that the J scripts printed at the end of David Benn’s implementation of turtle graphics are available via FTP from:
/pub/ACE/otherlang/J/tg
on:
ftp.appcomp.utas.edu.au
As well as having fun with the 3D noughts and crosses game, the more enterprising reader might like to use the projection code to reproduce some of the figures included in the article. These required an initial projection of a wireframe cube, followed by a second projection of the projected image on to the screen / paper. The viewing angle was chosen by spinning this final image around until it looked right, then snapping the result to the clipboard via a Dyalog metafile, and then pasting it into CorelDRAW! to adjust line weights, and label the vertices.
The game will be included with Dyalog APL 7.2 if you have can’t face typing in the code. Of course you can still enter the competition as you don’t need the 3D visualisation just to think up a winning algorithm. Hopefully, Dyadic will be able to host a tournament at Lancaster.