BSOD is caused not just by RAM, it can be due to any hardware or software issue just do not jump to conclusion like wise.
I go with debsuvra, either its is driver issue or the game's exe is currupt,
But driver issue would mean bad graphics. So it can also be the game when run tries to access some faulty hardware.
Start with drivers for your gfx card.
And tell which game you are playing and what GFX card are yo using.