DEV Community

Discussion on: Tic-Tac-Toe you can't beat...

 
james_palermo_bc208e463e4 profile image
James Palermo • Edited

You should also clear the mouse input buffer and reinit it after laucnhing and between games. :D

youtu.be/48OqfWgv9ak

Thread Thread
 
dhhruv profile image
Dhruv Panchal

Yeah, actually cleaning of the code and comments is still in progress so I'll add comments to make them clear and look into flushing the mouse input. Thanks for the help.😁