r/programming • • Aug 21 '26

Finding a hidden Mersenne Twister implementation inside a 15 year old game binary

https://medium.com/@jizoskasa/i-reverse-engineered-plants-vs-zombies-to-answer-one-very-specific-question-557637a68a3e
407 Upvotes

59 comments sorted by

View all comments

Show parent comment

3

u/JizosKasa Aug 24 '26

Thank you so much!

I made an "educated" guess in the sense that I Googled the most popular RNGs in 90s games and then asked AI how you can identify them with the most accuracy :D