"We had a lot of fun playing together."
This is a short and simple way to express that you enjoyed yourself with the other person or people. "Fun" is an adjective that describes a positive and enjoyable experience, while "playing together" specifies the activity that brought everyone together.