Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace JogodaVelhaIA
private void Defensivo()
{
if (vez == true)
{
for (int r = 1; r <= 17; r++)
{
if (r == 17 && vez == true)
{
Randomico();
}
private void Ofensivo()
{
if (vez == true)
{
for (int i = 1; i <= 17; i++)
{
if (i == 17 && vez == true)
{
Defensivo();
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Jogo_da_velha
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1