Pupils explore history of their local area on stage