We don't need to make everything kid friendly. There were no fun algebra games, you just did the work. You didn't even understand why the work was useful, you just had to do it.
When kids have the mental faculties advanced enough to learn computer programming, you teach them just like you teach algebra.