I made a video a while back about implementing a simple sprite editor using the window driver:
https://www.youtube.com/watch?v=CzK2SazvCxM (It uses two such clickable grids - one for a palette, and one for drawing pixels in the sprite). On Sun, May 2, 2021 at 4:47 PM Don Kelly <[email protected]> wrote: > minesweeper works on 903 (windows Qt) for me. I think that it also > worked on 902 > > Don Kelly > > On 2021-05-01 3:10 a.m., Ric Sherlock wrote: > > Minesweeper appears to be working fine for me in J902 (Windows Qt) and on > > Android. > > > > Bill it looks like the dialogs with xywh commands were introduced to > > support jnet? However they don't seem to interfere with the Windows Qt > > version for me. > > > > On Sat, May 1, 2021 at 1:40 PM Devon McCormick <[email protected]> > wrote: > > > >> Trying to run minesweeper in either J 9.02 or 9.03 (JQt version) gives > me > >> the following error: > >> > >> run'' > >> > >> |xywh : command not found > >> > >> : wd > >> > >> | (LF,~wd ::(''"_)'qer') (13!:8)3 > >> > >> > >> > >> On Fri, Apr 30, 2021 at 9:04 PM Devon McCormick <[email protected]> > >> wrote: > >> > >>> Thanks - I should have thought of that. > >>> The page I was looking at turns out to be less helpful than I thought > it > >>> would be. The "cardsgen.ijs" and "bridge.ijs" files appear to be > missing > >>> from the J distribution. It looks like this was an old page from Oleg > >>> Kobchenko. The code on the page does work as advertised but it's only > >>> nicely displaying a selection of cards, not allowing interactive > >> selection > >>> by clicking on the grid. > >>> > >>> On Fri, Apr 30, 2021 at 8:39 PM bill lam <[email protected]> wrote: > >>> > >>>> You can take a look at the minesweeper game in addons. > >>>> > >>>> > >>>> > >>>> On Sat, May 1, 2021, 8:25 AM Devon McCormick <[email protected]> > >> wrote: > >>>>> Hi, > >>>>> does anyone have a sample of code which puts up some kind of a grid - > >>>> like > >>>>> a chessboard or tic-tac-toe game - to allow a user to select an > >> element > >>>> of > >>>>> the grid by clicking on it? Does anyone have a feeling whether this > >>>> would > >>>>> be better handled with JHS or JQt? > >>>>> > >>>>> Thanks, > >>>>> > >>>>> Devon > >>>>> -- > >>>>> > >>>>> Devon McCormick, CFA > >>>>> > >>>>> Quantitative Consultant > >>>>> > ---------------------------------------------------------------------- > >>>>> For information about J forums see > >> http://www.jsoftware.com/forums.htm > >>>> ---------------------------------------------------------------------- > >>>> For information about J forums see > http://www.jsoftware.com/forums.htm > >>>> > >>> > >>> -- > >>> > >>> Devon McCormick, CFA > >>> > >>> Quantitative Consultant > >>> > >>> > >> -- > >> > >> Devon McCormick, CFA > >> > >> Quantitative Consultant > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
