Hi all, I’ve recently finished writing my first game for the command line using Notepad++ and the MinGW compiler (I’ve noticed that many people use an IDE of some kind, but I’ve deliberately avoided this to get a better understanding of how to build a program from the ground, up).
FYI, I’m using the Windows 7 home premium OS. The game is BattleShip, written with strings and basic control structures; and I use keyboard symbols to draw up the grid in the command line. It looks as basic as Pong, but works just fine.
I would like to distribute the game among a few friends but my .exe file won’t run on another computer. Does anyone have any suggestions as to what additional material I need to include with my source code (header files, DLL files, etc…) to accomplish this?
Ideally, I would love to run it on Windows XP, Vista, 7 and 8. Would appreciate any help on the matter (and remember: nothing IDE specific please).
You could try just supplying them with your whole project file, being that your program should look in its current directory for project-specific files. I don't think that will work though, and please excuse my stupidity in that case.