for RUN the game in command prompt do this: make sure minGW bin file path available in your PATH VARIABLES, for compile g++ main.cpp -o main.exe command and for run .\main.exe