I want to be able to save and track his high scores using the usermeta table, but I am having trouble figuring it out. I know that I need to use this function:
update_user_meta( get_current_user_id(), 'high_score', $meta_value);
edit: I was able to figure it out using the REST API and Ajax. Thanks!