How video games are invented