pygamer - save high score

how can I save the high score onto the eeprom or sdcard on the pygamer from makecode arcade?