pappde / bmai

AI to play Button Men, originally developed to interface with the (now deprecated) unofficial online Button Men website.
MIT License
2 stars 1 forks source link

32-bit overflow, change to long/int64 #13

Open danlangford opened 3 years ago

danlangford commented 3 years ago

ply 5 stats 5/5-100/400/0.50 Time: 17316.000000 s Sim: -1643774495 Sims/Sec: -94928.072014 Mvs/Sms | 14.0/28.0 | 11.0/18.5 | 7.9/13.0 | 5.7/8.9 | 3.9/5.9 = 9534073856 (yes i let the ply 5 run for nearly 5 hours)

ASIDE: Looks like 32-bit overflow in that output code (see ply 5 total Sim time case). Should change those variables to long/int64.

Originally posted by @hamstercrack in https://github.com/hamstercrack/bmai/discussions/9#discussioncomment-255994