If the police were involved, there probably will be a court case. Typically because of your age that would be filed in the juvenile department of the superior court. However, when the 18th birthday is that close, it's common that the state can't get charges filed in time to get you into juvenile court. Once your birthday comes, your case must be handled in adult court.
The maximum potential penalty under state law (which is used in most courts) is a year in jail and a $5,000 fine. However, cases like this rarely result in jail. Most courts offer some type of diversion to young defendants like yourself. Talk to a lawyer once you get your court date, don't make any quick decisions. Make sure you understand the consequences of any potential resolution for your case, and educate yourself about what long term impact it might have on you.