Quantum Computing, Science, Programming.
The numbers are the names I use for each position. They are also the names IBM uses, so 2 is the position of qubit q[2], for example. The choices made by the players are stored in shipPos. This has an entry for each of the two players (player=0 for the first player, player=1 for the second), and