Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 932 results for
tictactoe
- Page 1
tictactoe
Programming
Software Development
15 Years Ago
by taichou
help me to find out how to make a program about
tictactoe
game...its really hard..[B].im hoping for an immediate answer[/B]..thanks>>by the way this is only one of my problems to be finished...
Re: tictactoe
Programming
Software Development
15 Years Ago
by Alibeg
do you want to make a
tictactoe
game that works with its own brain or with predefined moves. i mean game is all about fooling the opponent into situations that bring you victory. so you can either make a program that calculates every possible combination or that makes its moves according to pre-made database.
Re: tictactoe
Programming
Software Development
15 Years Ago
by ajay.krish123
[QUOTE=taichou;774272]help me to find out how to make a program about
tictactoe
game...its really hard..[B].im hoping for an immediate answer[/B]..thanks>>by the way this is only one of my problems to be finished...[/QUOTE] What code or method you tried until now??
tictactoe
Programming
Software Development
14 Years Ago
by notmasteryet
trying to make a
tictactoe
(in class) c++ program but i cant seem to get …
TicTacToe
Programming
Software Development
13 Years Ago
by bpress91
I have written a program that allows for two people to play
tictactoe
, however it will not work. I am not sure what the problem is. Can some please help? Thank you in advance
TicTacToe
Programming
Software Development
12 Years Ago
by pitamber
Hello, I was just wondering how i could write a
TicTacToe
program in java without arrays. I am new to programming and i don't know lot of stuffs, so any help would be appreciated Thanks
Re: TicTacToe
Programming
Software Development
12 Years Ago
by DavidKroukamp
…]Hello, I was just wondering how i could write a
TicTacToe
program in java without arrays. I am new to programming…
TicTacToe game with undo function
Programming
Software Development
11 Years Ago
by altec64
…; #include <iomanip> using std::setw; #include "
TicTacToe
.h"
TicTacToe
::
TicTacToe
() { for( int j = 0; j < 3; j++ ) for…amp; c < 3 && board[r][c]==''; }
TicTacToe
::Status
TicTacToe
::gameStatus() { int a; if(board[0][0]!='' && board…
TicTacToe with MVC pattern
Programming
Software Development
12 Years Ago
by nixufix
… return null; //reports whos turn it is } public
TicTacToe
(){ } } Model class for the buttons import java.awt… 500; int n = 3; int i = 0;
TicTacToe
spelet = new
TicTacToe
(); //mainpanel and buttonpanel JPanel mainpanel = new JPanel(); mainpanel.setLayout…
TicTacToe feedback and problem with printing board
Programming
Software Development
11 Years Ago
by Violet_82
…int colInput; Scanner input = new Scanner( System.in );
TicTacToe
myTicTacToe = new
TicTacToe
();//create object myTicTacToe.printBoard(); while( !isFull ){ isDraw =…}//end TicTacToeTest class and the other one /*
TicTacToe
.java*/ public class
TicTacToe
{ //private boolean isFull = false;//if true …
tictactoe help..i dunno wats wrong...i need some1 to correct it...it has some error.
Programming
Software Development
17 Years Ago
by imhaf123
…] System.Windows.Forms;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000]
tictactoe
[/COLOR] { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]partial[/COLOR] [COLOR…
TicTacToe Board help - java
Programming
Software Development
15 Years Ago
by dammitjim30
… figure out why my code is not working for this
TicTacToe
board assignment. I keep getting the following error: Exception in…
Tictactoe python
Programming
Software Development
13 Years Ago
by coco08
Hi people. I'm trying to create a
tictactoe
program in python but i'm having some troubles. It'…
TicTacToe Debug
Programming
Software Development
12 Years Ago
by stevanity
I made this simple program for a 2 player
TiCTacToe
game. But It doesnt seem to be working properly. I …
TicTacToe Evaluation function
Programming
Software Development
12 Years Ago
by Labdabeta
…; };[/CODE] I really cannot see why it is that my
TicTacToe
AI that usually makes the best possible move should occasionally…
Re: TicTacToe Evaluation function
Programming
Software Development
12 Years Ago
by WaltP
… wrong: ... I really cannot see why it is that my
TicTacToe
AI that usually makes the best possible move should occasionally…
TICTACTOE Adding JButtons over Image?
Programming
Software Development
11 Years Ago
by Java is King
… = new Beginning(); na.setSize(200,400); add(na); setTitle("
TicTacToe
"); // This is where I tried to add the first…
TicTacToe equivalent with a twist using socket programming in Java
Programming
Software Development
4 Years Ago
by M_27
I made this game equivalent to
tictactoe
but with a slight twist called find the X between …
Re: tictactoe
Programming
Software Development
15 Years Ago
by Murtan
We are not, nor have we ever been a 'here is your completed assignment because you asked for it' source of information. Our basic premise is to help you fill the 'gaps' in your knowledge. We help you to solve your own problems. Post some code for how you think it should work, identify where you're having trouble and we will pitch in with …
Re: tictactoe
Programming
Software Development
14 Years Ago
by Sky Diploma
You Do Realise that there is no looping mechanism taking in moves right. I mean, this program calls the function "move" once. and after its done sucessfully.. Its job is done. You will have to think of a way that it continues calling move() until the user wishes to quit.
Re: tictactoe
Programming
Software Development
14 Years Ago
by MaraShyla
Tic-tac-toe, also spelled tick tack toe, and alternatively called noughts and crosses, Xs and Os, and many other names, is a pencil-and-paper game for two players, O and X, who take turns marking the spaces in a 3×3 grid, usually X going first. The player who succeeds in placing three respective marks in a horizontal, vertical or diagonal row wins …
Re: TicTacToe
Programming
Software Development
13 Years Ago
by WaltP
Neither are we. You didn't describe the problem. And most people will not download attachments.
Re: TicTacToe
Programming
Software Development
13 Years Ago
by technologic
I have downloaded the attachment, and tried to compile it, but i found many mistakes. I think everything's alright, try to check it for mistakes. Good Luck!
Re: TicTacToe
Programming
Software Development
12 Years Ago
by pitamber
well, my teacher told me not to use any arrays...he will deduct point if i do. So is there any ways i can do this program without arrays?
Re: TicTacToe
Programming
Software Development
12 Years Ago
by designuts
Without an array, you'd just have to make 9 separate variables, each corresponding with a row and column on the board. For example [code] int space11 = 0; //Row 1 Col 1, 0 is an O and 1 is an X [/code] space12 would be row 1 col 2 and so forth. Then take those as your inputs. For others out there, I'm new here, so let me know if there is…
Re: TicTacToe
Programming
Software Development
12 Years Ago
by pitamber
This is what i have so far. I think i am using redundant code, is there anyway i can reduce it, if so how? import java.util.Scanner; public class TicTac { static int row, col; static char topLeft = ' ' ; static char topCenter = ' '; static char topRight = ' '; static char …
Re: TicTacToe
Programming
Software Development
12 Years Ago
by zeroliken
[QUOTE] I think i am using redundant code, is there anyway i can reduce it, if so how?[/QUOTE] That's the use of arrays, to make it less redundant and less complicated :) But since your not allowed to and if you have no more problems with the code then it should all right the way it is now
Re: TicTacToe
Programming
Software Development
12 Years Ago
by pitamber
pitamber
Fun with TicTacToe - need help
Programming
Software Development
17 Years Ago
by balgarath
…; "\nInvalid position. Try again.\n"; return false; } }
TicTacToe
::
TicTacToe
() { int x, y; for(x = 0; x < 3…player index char * GetName(); //returns player name void NextMove(
TicTacToe
x); //for a player to make a move int …
Re: Fun with TicTacToe - need help
Programming
Software Development
17 Years Ago
by balgarath
ok that got it. And the issue with the
tictactoe
board where Nextmove wasnt working was just a pointer issue so I got it too. Thanks for the help!
1
2
3
16
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC