✅ how does passing byref work
does this code mean that this.board and this.moveList is a ref value of the original board and moveList passed in?

public ref and assign with this.board = ref board in the constructor
public refthis.board = ref board