You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2022. It is now read-only.
rubenvde edited this page Dec 6, 2014
·
1 revision
setShoot(Array(x,y)) is een functie die u moet meesturen wanneer turn() is aangeroepen naar de client.
In de x en y moeten de coördinaten staan waar u uw schot wilt plaatsen om een schip van te tegenstander te raken. Dit moet in een Array gestuurd worden.
x: (int) getal (binnen het veld)
y: (int) getal (binnen het veld)
Nadat u setShoot() heeft gestuurd is uw beurt (turn()) afgelopen.