Tic Tac Toe

Hello
Im new to Arduino Code and I need help...can you help me doing a tic tac toe using LEDs and without using any inputs also check for winner?

No user inputs, and I only have single colored LEDs.

What do you mean about "without using any inputs"? You want to use the serial port to communicate with the uses?

The computer plays itself by choosing spots at random until one "player" wins or until there's a draw.

http://forum.arduino.cc/index.php?topic=199225.0

Single color LEDs and no user input? Not much of a game.
Do you have at least two different color LEDs like red and green, or is it just 9 LEDs of the same color?

For this, you will need to write an algorithm that keeps track of where each piece was placed, from there you can have the code determine where to put the next piece and so on.