kid vs mathematician

i don't think could have won. but white could have surely won, he just didn't have the will power to prove it...

I think he could win if you have just move he s castel in the diretsen of the other castel he could win.
maybe or maybe not

white cud have won by 28 Nb6
28. Nb6 Re8
29. Rxe8+ Rxe8
and material is even. I would say it was draw, but kinda not and maybe black had some advantage due to the undeveloped bishop and rook (If white did 28. Nb6)
Other then that it looks like a draw to me.

I'd say white's position is actually better at the end, due to the rook on the seventh rank, and the passed pawn that can't easily be attacked at the moment by black (for instance, 30...Rd8 31. Bd7, with ideas of Bf6+ and bring the other rook into the action on the seventh).
I think you could have exerted more pressure on white's position earlier in the game, when you were better - more coordinated and more developed. I think I'd prefer 15...Be6 to Bd7, since it implicitly controls the a2-g8 diagonal, and so also guards the open diagonal on your king (which white later exploits).
On d7 it's not doing much. I know you use it to support the c6 push, but since you needed to put the knight on a6 anyway to do that, it's surplus to requirements.