In the GoldSrc engine (the framework for CS 1.6), DLL files handle core game logic:

I can provide step-by-step instructions to get your game .