The UI is admittedly confusing haha.
So you have to bring the ball to your goal (Indicated by the color of your outline, the goal being the same-colored biggest square ). You have to actually enter the goal with the ball, like (American) football.
Hope that clears it up a bit, we're lacking on the graphics/UI side, so it is definitely a bit confusing haha.
Thanks for playing!