Refers to a mischievous act.
La jugarreta que planeó para su hermano resultó ser un gran éxito.
The prank he planned for his brother turned out to be a great success.
La jugarreta que le hizo a su hermano lo dejó muy molesto y sin ganas de jugar.
The prank he played on his brother left him very upset and unwilling to play.