Are you having issues only with one particular game?
Please try the following steps meantime
Go to Start Menu > click on Settings.
Type performance > choose Adjust the appearance and performance of Windows.
In the new window, go to the Visual Effects and select Adjust for best performance.
click Apply and OK
If the issue persists please follow the instructions in this Troubleshooting Guide: http://hp.dezide.com/ts/start.jsp?guide=SlowComputerPerformance.net&as=true§ion=ccweb&sfs=sdoc
Keep me posted how it goes 😊
If the information I've provided was helpful, give us some reinforcement by clicking the "Solution Accepted" on this Post and it will also help other community members with similar issue.