tic tac toe


Closed Thread
Results 1 to 9 of 9

Thread: tic tac toe

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    india,tamil nadu
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Thank u GANDORA

    Thank u gandora , for ur kind response,

    Actually i want use 3*3 LED matrix for display (Bicolour LEDs if possible)

    and some keys like those in the calculators .

    With out interfacing with PC will be better

    our game should have two options 1) one player mode (i.e, playing with pic)
    2) two player mode
    and peizo buzzer to announce the winner.

    main aim is to keep things as simple as possible!!!

  2. #2
    Join Date
    May 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Default Next step

    Okay so you know the system you want now. So you can probably start making the interface. using a bigish solderles breed board make the display.

    Choose the way you want the player to choose where to put the next x or o.

    one way would be to have a button next to each led, and a led display to display weather it is player 1 or 2's turn.

    other methods could be too complicated for a user, or would require implementing a cursor. This would probably involve up, down, left, right arrows, and a select button. You would have to be creative with the indication of what is selected. perhaps flash the led that is selected in different colors.


    once you have built one of the two types of interfaces, you will then. dun dun dun. Have to get all the lights to light up, and all the buttons to accept your pic as there master. Not too hard but, you'll probably want a pic with alot of inputs and outputs. Or you can always dedicate pics to individual tasks. Take for instance making a single pic that runs the light show.

    But for this project you should probably have plenty of ports.

    Now once you have gone this far, make a simple program that let a user turn on an led of his choice.

    now implement something that changes turns and the color of the led.

    At this point you would have the ability to play tic tac toe, but the only ones who would care about the rules would be you and your enemy.

    Once you have got this far. Then We can delve deeper into the awe that is tic tac toe.

Similar Threads

  1. Replies: 20
    Last Post: - 13th May 2007, 05:10

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts