Wednesday night I had nothing to do for like 2 hours in my hotel room so I worked on tic tac toe and realized the reason why I was having such a hard time is because i forgot to add the mouse listener. I thought i was having a bunch of problems with the applet refreshing or the mouseclick method going crazy or something but it turns out I just forgot to add addMouseListener(this);
so now pretty much everything is done all I have to do is get it to add the values to the 2d array when they click on the spaces because i already have all the cases written out for winning and what it will do when they win.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment