I am trying to make a simple IR sensor shooting game

Why not try Jeremy Blum on YouTube. I find he's pretty good.
https://www.youtube.com/playlist?list=PLA567CE235D39FA84

Did you make it through the code I gave you?

Here's a page to help with the LDR
https://forum.arduino.cc/t/right-way-of-using-resistor-with-ldr-sensor/1151084