I've created a simple tic tac toe game (just to get the hang of java applets) and used the MouseListener system of detecting mouse clicks. When the mouse is clicked on the applet the code checks where on the board the click was and places a cross in that square.
When I uploaded the html and class file to the web it seemed to play fine when I tested it (using the same computer it was written on). I tried to play it at a friends house but it will not work on his PC. I've also tried on several other computers and it doesn't work.
The problem is that it is not responding to any mouse clicks. The board draws correctly, but nothing else happens if you try and click.
Any help would be appreciated.
James Francis.
PS The game is at I haven't yet figured out images so the noughts and
crosses are represented by yellow and blue squares -
that's if it works!
When I uploaded the html and class file to the web it seemed to play fine when I tested it (using the same computer it was written on). I tried to play it at a friends house but it will not work on his PC. I've also tried on several other computers and it doesn't work.
The problem is that it is not responding to any mouse clicks. The board draws correctly, but nothing else happens if you try and click.
Any help would be appreciated.
James Francis.
PS The game is at I haven't yet figured out images so the noughts and
crosses are represented by yellow and blue squares -
that's if it works!