I used to play video game where you get teleported to the future to fight zombies and use a machine to teleport between rooms, and another game where you go to a machine that lets you see a historical character's past memories and then you play as him from his perspective. Did I fall into kufr?

Ustadh AbdulAziz al-Haqqan
No, this is waswas, and if you are suffering from it seek medical help.