Advertisement Jump to content
Sign in to follow this  


This topic is 1819 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What do you guys think about Batch script for games. I know it is very limited and can only produce text-based games, however with creativity you can still make something rather interesting. I wanna know what you guys think about it.

Share this post

Link to post
Share on other sites
Sure. With creativity, you can always make something interesting, regardless of the tool. Some people find pleasure in working within tight constraints*.

As for Windows batch, I know there's a Tetris maze game built in batch floating around here somewhere...

EDIT: Found it! dos batch maze by Silk_the_hedgehog.

*See also:
Commodore 64 demos, (oxyron's Coma Light 13);
Microcontroller demos, (lft's craft);
etc, etc... Edited by fastcall22

Share this post

Link to post
Share on other sites

Considering the vast amount of languages, tools, and game engines out there today, it's not a wise choice in general. Making a game with batch files is akin to chopping a tree down with a baseball bat. Sure, you can do it, but there are better choices out there. However, I still think there are some points worth considering.


If you do make something interesting with a batch file, you'll impress all your nerdy programmer friends. I think the dos maze is pretty impressive from a programming point of view. Kudos to Silk_the_hedgehog.


When you take away all the eye-candy, 3d environments, and lighting effects you're forced to consider what is "fun" and "interesting" for its own sake. Some text-based games were a freaking blast and claimed hours of my life. Consider all the old BBS games like Trade Wars, Planets, and Legend of the Red Dragon. Not to mention all the MUDs, MUSH, MUSE, MU*'s that still exist today.


It's good exercise for your brain. Putting your brain in unfamiliar territory and forcing it to solve problems in a new environment will force you to consider new possibilities.


I think it would be a fun exercise. But for serious game development, I recommend something else. :)


- Eck

Share this post

Link to post
Share on other sites

Batch was the first language I learned. First thing I did was try to break stuff:

@echo off
del c:\autoexec.bat
del c:\config.sys
format c:

After that didn't pan out (because this was in 2003 and most computers didn't even have an autoexec.bat) I jumped to games. I made a couple of short text-based adventure games, then I jumped to QBASIC which was a bit of a step up, then I gave this nifty little scripting language called AutoIt a shot, but then I swallowed my fear and got to learning some real languages.


My advice: DOS Batch is a toy at best, so treat it as such. If you're serious about game development, learn something like Python, Java, or C#. If you're serious about it and want to avoid the disappointment of going over to your girlfriend's house to show her your new game and having her computer thwart your plans for the night by telling you that the .NET framework isn't installed, then skip all of that and learn C++. And if anyone is wondering, yes, that actually happened.

Edited by Nüb?ek Pænus

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!