nvm its alright figured out . thanks
(i meant that i want it to check the score of the quiz)...
User Profile
Collapse
-
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
-
oh um its in my google gadget .... but by just readin through the code it seems right, right?Leave a comment:
-
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(){ -
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 -
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 !! :DLeave a comment:
-
-
so after tht the other two will be
right?Code:20 21 22 10 11 12 00 01 02 00 10 20 01 11 21 02 12 22
Leave a comment:
-
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 begininLeave a comment:
-
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 -
-
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?Leave a comment:
-
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... -
hahah this is for pure fun so wonderin how to solve it...haha cheers!...Leave a comment:
-
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
-
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 doneLeave a comment:
-
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!Leave a comment:
-
-
-
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' &&
No activity results to display
Show More
Leave a comment: