User Profile

Collapse

Profile Sidebar

Collapse
1051109210
1051109210
Last Activity: Apr 11 '09, 08:27 AM
Joined: Mar 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nvm its alright figured out . thanks
    (i meant that i want it to check the score of the quiz)...
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic validate a set of radio buttons in a quiz

    validate a set of radio buttons in a quiz

    Code:
    <table class="special3" align="left" width="75%" height="65%" >
    <form>
    <table width="50%" align="center">
    
    <tr align="right">
    
    <td></td>
    <td><a href="http://geocities.com/blhc_69/testingignore.html">Logout</a></td>
    </tr>
    
    <tr
    ...
    See more | Go to post

  • 1051109210
    replied to why wont the function get called ?
    oh um its in my google gadget .... but by just readin through the code it seems right, right?
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic why wont the function get called ?

    why wont the function get called ?

    Hi! why doesnt my computermove() get called second time round? Note: computermove() is done to this it out first...
    Code:
    function onclick(square) {
    
     var value = square.value;
     if(value != 'X' && value != 'O')
     {
    
    
    square.value = 'X';
    numMoves++;
    computermove();
    numMoves++;
     
    }
    }//function onclick
    
    
    
    
    function computermove(){
    ...
    See more | Go to post

  • 1051109210
    started a topic tic tac toe

    tic tac toe

    How can i program this game based on probability? like for first move 1/9 chances second would be1/8 chances and so forth? or where can i look into. ive googled around and i dont think i can find wht im lookin for
    See more | Go to post

  • 1051109210
    replied to tic tac toe
    hmhm i think i got it....will think abt it tmr (kinda late from where i'm at)
    thanks alot! and for bein patience with my ques !! :D
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to tic tac toe
    huh wht do you mean?
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to tic tac toe
    so after tht the other two will be
    Code:
    20 21 22
    10 11 12
    00 01 02
    
    
    
    00 10 20
    01 11 21
    02 12 22
    right?
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to tic tac toe
    oh yea switchin the values....meani n?


    0 1 2
    a
    b
    c

    a b c
    0
    1
    2
    then ? if rotate again 012 will be at bottom same as beginin
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic tic tac toe

    tic tac toe

    im been googling around on how to programme the ai part for this game and alot mentioned about rotating the board... how do i rotate this board.
    thnks
    See more | Go to post

  • 1051109210
    replied to TicTacToe
    ooo huh? got lost there? possible to elaborate? tq
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to TicTacToe
    im using...uh div i guess...actuall y this is done in google gadgets so its sumthin like div....



    yea my board is labeled sumthin like b00 b01 b02 b10 b11 b12 so forth...so how do i continue on from here...with uh that id comparison?
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic TicTacToe

    TicTacToe

    Im tryin to create a tic tac toe ( more then 3x3 but startin with 3x3) with ai. the prob is gettin the ai to work. many eg of 3x3 are out there but they seem to be done based on if this then do this. i kinda want a recursive function cause if else hard to be implemented on a bigger tic tac toe board.
    i think i figured out part of the ai.
    human is X comp is O
    first if O can place a winnin spot it will else
    O to see if...
    See more | Go to post

  • 1051109210
    replied to 4 x 4 tic tac toe
    in C
    hahah this is for pure fun so wonderin how to solve it...haha cheers!...
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic 4 x 4 tic tac toe
    in C

    4 x 4 tic tac toe

    Code:
    //=====================================================================================
    // Program Name: TicTacToe
    // Author: Gonzales Cenelia
    // Website: www.ai-search.4t.com
    //
    // This is a complete Tictactoe game, it include many functionalities, you can play games
    // against another human, you can play against the computer, you can also even let the computer
    // play against itself. The A.I is very
    ...
    See more | Go to post

  • 1051109210
    replied to Google Gadget
    Hahah i did it the very simple way ....novice way by calling the elements one by one... not actually overcomin the document/_gel way but i got my work done
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to Google Gadget
    Oh sorry I found out my prob. The method document.getEle mentsById() is specific to DOM interaction in the browser. Google Desktop does not support these DOM calls.
    Thank you for your concern in lookin into this though!
    cheers!
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to Google Gadget
    huh sorry i dont quite understn
    See more | Go to post

    Leave a comment:


  • 1051109210
    replied to Google Gadget
    i var val0 earlier then val0=_gel...... ...
    See more | Go to post

    Leave a comment:


  • 1051109210
    started a topic Google Gadget

    Google Gadget

    Code:
    function checkWin()
    { 
    var val0;
     var val1;
     var val2;
    var status = _gel(status);                 //prob here
     
     // check columns
     for(var y = 0; y < 3; y++)
     {
       val0 = _gel('b0_'+y +".value");               //prob here
            val1 = _gel('b1_'+y +".value");
            val2 = _gel('b2_'+y +".value");
    
    if(val0 == 'X' &&
    ...
    See more | Go to post
No activity results to display
Show More
Working...