I just started another playthrough of Factorio and I'm impressed just how well it manages to incorporate so many fundamental concepts in CS/CE. It's an incredibly useful tool for refreshing your memory of all that stuff you learned in college, but never applied in the real-world.
I built an S-R Latch for turning on steam power to my base iff battery capacity falls below 10% and remain on until capacity is above 50%. That, and figuring out how to distribute goods evenly across n belts when you can only divide in half is pretty fun to figure out.