hello experts!!!
im just a beginer.. thats wants to know alot..
i want to program my own tictactoe game.. but i dont have visual basic..can anybody plz.. give me some codes that i can edit my self with javascript or html.. if possible? can you make a tictactoe game with html or javascript?
plz let me know!!!
if so..
plz tell me the source codes. .so that i can just edit themm.. and put any pics.. or anything in it...
ok!
here...
this is what ive done so far..
but now what.. how can i save it as .exe or somethin.. i dotn got visual basic.. can u like make it for me to where i can just edit it and put any pics or music or anything?plz!!!!!!
class TicTacToe extends JFrame implements ActionListener
{
public String play = "X's turn.";
public String one1 = " ";
public String two2 = " ";
public String three3 = " ";
public String four4 = " ";
public String five5 = " ";
public String six6 = " ";
public String seven7 = " ";
public String eight8 = " ";
public String nine9 = " ";
public boolean xTurn = true;
JButton one = new JButton(one1);
JButton two = new JButton(two2);
JButton three = new JButton(three3);
JButton four = new JButton(four4);
JButton five = new JButton(five5);
JButton six = new JButton(six6);
JButton seven = new JButton(seven7);
JButton eight = new JButton(eight8);
JButton nine = new JButton(nine9);
JLabel status = new JLabel(play);
public TicTacToe()
{
super("Tic-Tac-Toe");
setSize(200,200);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
Container contentArea = getContentPane();
GridBagLayout flowManager = new GridBagLayout();
GridBagConstraints pos = new GridBagConstraints();
contentArea.setLayout(flowManager);
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.