Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 932 results for
tictactoe
- Page 1
Re: Tic Tac Toe - using 2 classes
Programming
Software Development
15 Years Ago
by redhotspike
…, col; char square[3][3]; char board[3][3]; public:
Tictactoe
(); void displayBoard(); void placement(); bool checkForWin(); bool checkSpot(int row…
Re: Traffic Simulator
Programming
Software Development
13 Years Ago
by hanvyj
tictactoe
games are good to learn about event handeling and JPanel …
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
11 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
10 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 …
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!
URGENT Help Needed With TicTacToe Application Source Code!!!
Programming
Software Development
19 Years Ago
by Ghost
… javax.swing.*; import java.awt.*; import java.awt.event.*; class
TicTacToe
extends JFrame implements ActionListener { public String play = "X's… nine = new JButton(nine9); JLabel status = new JLabel(play); public
TicTacToe
() { super("Tic-Tac-Toe"); setSize(200,200); setDefaultCloseOperation…
Re: C++ TicTacToe
Programming
Software Development
14 Years Ago
by froggy1976
…n\nThe game was a draw "; } void
TicTacToe
::switchPlayer(char ¤tPlayer){ //switches current player if(… currentPlayer ='X'; } else currentPlayer = 'O'; } bool
TicTacToe
::postMove(int row, int col, char value){ //gets the users…
function to determine the outcome of a game of tictactoe - help required.
Programming
Software Development
12 Years Ago
by pwolf
… 'X', 'O'), ... ('O', 'X', 'O') ]) 'Draw.' >>>
tictactoe
([('X', 'O', 'O'), ... ('X', 'O', ' '), ... ('O', 'X', '… ') ]) "'O' wins (diagonal)." >>>
tictactoe
([('X', 'O', 'X'), ... ('O', 'O', 'X'), ... ('O', 'X…
Pyschools-tictactoe
Programming
Software Development
11 Years Ago
by fasna
…O', 'X', 'O'), ... ('O', 'X', 'O') ]) 'Draw.' >>>
tictactoe
([('X', 'O', 'O'), ... ('X', 'O', ' '), ... ('O', 'X', ' …') ]) "'O' wins (diagonal)." >>>
tictactoe
([('X', 'O', 'X'), ... ('O', 'O', 'X'), ... ('O', 'X', …
C++ TicTacToe
Programming
Software Development
14 Years Ago
by froggy1976
… switch user function and my post move function. [CODE]void
TicTacToe
:: switchPlayer(char ¤tPlayer){ if(currentPlayer == 'O'){ currentPlayer = …'X'; } else currentPlayer = 'O'; } void
TicTacToe
::postMove(int row, int col, char value){ if (theBoard[row…
Java tictactoe help please
Programming
Software Development
13 Years Ago
by azzman
…[] arg) { Scanner keyboard = new Scanner(System.in);
TicTacToe
game = new
TicTacToe
(); game.print(); while ( !game.won() &&…stalemate() ) System.out.println("Stalemate."); } } class
TicTacToe
{ private char[][] board; // 3 x 3 board private char …
Re: Java tictactoe help please
Programming
Software Development
13 Years Ago
by azzman
…[] arg) { Scanner keyboard = new Scanner(System.in);
TicTacToe
game = new
TicTacToe
(); game.print(); while ( !game.won() &&…stalemate() ) System.out.println("Stalemate."); } } class
TicTacToe
{ private char[][] board; // 3 x 3 board private char …
Re: Java tictactoe help please
Programming
Software Development
13 Years Ago
by azzman
…) { Scanner keyboard = new Scanner(System.in);
TicTacToe
game = new
TicTacToe
(); game.print(); while ( !game.won() &…) System.out.println("Stalemate."); } } class
TicTacToe
{ private char[][] board; // 3 x 3 board … 'X' or 'O' //make a new game public
TicTacToe
() { player = 'X'; //first player is 'X…
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
Meet People
Forums
Top Members
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