To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example allows you to play Tic-Tac-Toe with a friend or against the computer.
Description
This example VI is a variant on an old game. This includes a low level computer intelligence to play against you or you can play with a friend. This is another fun game that was created with LabVIEW and a little imagination. Enjoy!!
For more information about a TicTacToe LabVIEW code, check out the discussion forum here about the LabVIEW Tic Tac Toe Coding Challenge.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Block Diagram of Tic Tac Toe Main 2012 NIVerified.vi
Logic to check diagonal lines to determine the computer's next move.(in Tic Diagonal Lines 2012.vi )
Logic to check horizontal and vertical lines to determine the computer's next move.(in Tic Horizontal and Vertical Lines 2012.vi )
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
can some one post this code for LabVIEW V6.1 ?? thanks
Please see this thread
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=181709#M181709
in the NI Forums to find the Tic-Tac_Toe challenge.
Can your code beat "Deep-Toe"?
Ben
Looks like it's missing a "tic1d.vi" SubVI.
I was working on it just as you posted. Thanks for the input!!
I unfortunately don't have LabVIEW 6.1 so I can't save it for a previous version. I added some screenshots so maybe you might be able to figure out what I did. You might want to look into a newer version of LabVIEW because NI doesn't support anything before LabVIEW 7.1. Food for thought. Thanks!!
For a full featured 4x4 Tic Tac Toe version, have a look at my entry here. It barely uses any pink or green wires (they are for wimps!), doing everything very efficiently using the bits of integers instead.