Thank you both with this. After pondering your replies and my code, i got it figured out.
Type: Posts; User: E.K.Virtanen
Thank you both with this. After pondering your replies and my code, i got it figured out.
Hi.
Still strugling with learning objects.
Basic idea is, that object Piste(x, y) checks if parameters are in proper range and returns a string in format "(xLoc, yLoc)".
.siirrä(x, y) adds...