GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   In tic tac toe what is the fewest moves your opponent.. (https://gfy.com/showthread.php?t=396529)

bedbuddy 12-01-2004 03:33 AM

In tic tac toe what is the fewest moves your opponent..
 
In tic tac toe what is the fewest moves your opponet can make before you know you can win?

Olix 12-01-2004 03:38 AM

:321GFY + :321GFY = 2

slapass 12-01-2004 03:40 AM

one if you go first.

Love Brokers 12-01-2004 03:45 AM

YOU GOTTA BE FUCKIN KIDDING!

Bob Saget 12-01-2004 06:18 AM

using System;
using System.Collections;
using System.Drawing;

namespace tictactoe_basic
{
/// <summary>
/// Summary description for TTTModel.
/// </summary>
public class TTTModel
{
private Players mPlayers = new Players();
private StatusDetector mStatus = new StatusDetector_Hardcoded();
private TTTBoard mBoard = new TTTBoard();

public TTTModel()
{
mBoard.NewGame();
}
public delegate void UpdatedModel();
public event UpdatedModel Updated;
public StatusDetector.ResultEnum Result
{
get { return mStatus.GetStatus(mBoard); }
}
public bool MyTurn
{
get { return mPlayers.MyTurn; }
}
public void SetPlayerType(Player p)
{
mPlayers.SetPlayerType(p);
}
public void MakeMove(GridCoordinate gc)
{
if (Result != StatusDetector.ResultEnum.NotDone) return;
if (mBoard.CellOccupied(gc)) return;

mPlayers.Move(mBoard, gc);
mPlayers.NextPlayer();
NotifyOfUpdate();

if (Result != StatusDetector.ResultEnum.NotDone) return;
if (!mPlayers.CurrentPlayerIsHuman())
{
mPlayers.Move(mBoard, mPlayers.CurrentPlayersMove(mBoard));
mPlayers.NextPlayer();
NotifyOfUpdate();
}
}
public bool CellIsX(GridCoordinate gc)
{
return mBoard.CellIsX(gc);
}
public bool CellIsO(GridCoordinate gc)
{
return mBoard.CellIsO(gc);
}
public void NewGame()
{
mPlayers.NewGame();
mStatus.NewGame();
mBoard.NewGame();
NotifyOfUpdate();
}
public GridCoordinate GetWinnerSlashStart
{
get {return mStatus.GetWinnerSlashStart; }
}
public GridCoordinate GetWinnerSlashEnd
{
get {return mStatus.GetWinnerSlashEnd; }
}
private void NotifyOfUpdate()
{
if (Updated != null)
Updated();
}
}
}


All times are GMT -7. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123