ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Matrix strategy

Hello!

I'm designing a game similar to "battleship", I need to make an algorithm that generates random points within the Boolean matrix (10x10), and that in case of finding a point of the ship, the program must generate a strategy so that it finds all the ship. I would like to know which of the different options of LabVIEW would allow me to do this and in what way.

Thank you!

0 Kudos
Message 1 of 3
(2,768 Views)

You don't need  options, just a strategy. What have you tried? How would you proceed manually?

0 Kudos
Message 2 of 3
(2,754 Views)

Hi WiLSTi,

 

and please don't use the word "matrix" when you only need "arrays"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,740 Views)