Hey Hugh,
Let me see if I understand correctly. You have a web app that has the locations of different playing fields in parks and want to know how to use plus codes to give the fields "addresses". Is that accurate?
Getting a plus code for a field
I'm assuming that you have the latitude and longitude (aka your coordinates) for each playing field in your database. If you do, you can simply pull in the
Javascript library (or whatever language you're using). The library will perform the conversion from a latitude/longitude to a plus code for you.
How to convert user's location to plus code
Typically, when you programmatically get the user's location from a web or mobile app, it comes back as a latitude/longitude. You can convert this to a plus code using the library.
Plus code precision
Plus codes can have a varying number of digits. The more digits it has, the more precise it is. A 10-digit plus code represents roughly a 13 x 13m square, which should be good enough for your use case. If you need to be more precise, you can use an 11-digit plus code to represent a ~2m x 3m rectangle.
Let me know if you have any other questions!