I turned my car headlights on and off so others could not see while I was in the tunnel.
That seems dangerous. Are you trying to cause an accident or something?
No, I just through it would be funny to mess with other drivier's vision.
Just because it's funny doesn't mean it's okay to do. By flashing your lights like that you risk causing an accident because it's both distracting and can affect other driver's ability to see. Think about the possible consequences of things a little bit before you do them.
I just want to have fun.
You can find other ways to have fun that won't make it hard for other drivers to see which could cause an accident. You could get hurt and or somebody else could.