Go to Post What's so bad about Matt? I mean, if the guy can explain PID so that even I can understand it, he can't be all that bad... - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-06-2015, 01:59 PM
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Labview Challenge 3

Quote:
Originally Posted by Owen Busler View Post
My first thought was to have a 3x3 square of buttons to select the spot you want to go, then a 3x3 text array to display the current board. With other toggle switches and displays for whos turn it is and such.

But i dont know of a way to make it where you click the game board with x's and o's
I threw together a quick starting point for the interaction with a board UI. There is no game logic behind it, just the board itself.

Hope that helps.
Attached Files
File Type: zip TicTacToe Board.zip (20.4 KB, 30 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 08-06-2015, 03:42 PM
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 271
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
Re: Labview Challenge 3

Here is what 2959's programmers did for this challenge:

https://www.youtube.com/watch?v=H7bqImeUZNg

Well they did it this summer as part of an internship, but it was close enough to this challenge to be noteworthy.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-06-2015, 03:44 PM
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 271
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
Re: Labview Challenge 3

Here is what 2959's programmers did for this challenge:

https://www.youtube.com/watch?v=H7bqImeUZNg

Well they did it this summer as part of an internship, but it was close enough to this challenge to be kinda cool.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-07-2015, 07:38 AM
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Re: Labview Challenge 3

Finally finished! Took me about three hours in total.
I will upload it as an application for now because the code needs some more documentation.
Let me know if you found a bug or if you could win in the unbeatable mode.
Attached Files
File Type: rar Tic Tac Toe by Guy Morag - BumbleB #3339.rar (243.8 KB, 37 views)
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew

Last edited by GuyM142 : 08-07-2015 at 01:49 PM.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-19-2015, 12:28 AM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Labview Challenge 3

I've attached my solution, includes part 1 and 3.

I wanted to play with DVRs + recursion. My only complaint with LabVIEW in this case is you cant have a DVR of a typedef in the typedef itself. You have to cast it to a different type (Int32 in this example).

For example in C you can do something like:

Code:
struct Node {
int data;
Node** children;
}
Instead you have to do something like

Code:
struct Node {
int data;
void** children;
}
and handle the proper typecast outside the typedef.

Also Bpk9p4 you picked the hardest one on my list!
Attached Files
File Type: zip Tic-Tac-Toe.zip (291.3 KB, 22 views)
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -

Last edited by wt200999 : 08-19-2015 at 10:19 AM.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:11 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi