A 19-year-old man has crashed his car into a school while playing Pokemon Go in Melbourne's south-east.

Police believe the man was trying to catch a Pokemon on the popular mobile app when he lost control of his vehicle and crashed into St Francis Xavier College in Berwick about 6.50pm on Thursday.

The man, who presumably wanted to be the best there ever was, overshot a roundabout on Ridgemont Drive and smashed through a fence before hitting an empty portable classroom at the Catholic secondary college.

Fortunately, no one was injured.