implement persistent_ram in board_shooter.c