Batch Coding!

Pages: 123
I was going to add some beginner batch stuff for your website for you so beginners like me might know what batch was only I couldn't find a batch site with any batch on it.
closed account (S6k9GNh0)
Because batch isn't really a language...
PowerShell is closer to the bash alternative.
Programming in Widows Batch is a nightmare. I spent two hours trying to write a script that copied a file to a location from a path in the registry - I succeeded, but it was way too difficult.
Last edited on
@L B
I hear you on that. I work at a computer shop and a lot of times our business customers request that something like that be automated (copying files to a backup location, finding all pictures on a drive and copying them to a specific location, etc etc.) It does take a pretty long time to get everything sorted out properly (99% of the time spent is research..). But after that's done it's pretty handy. So I'll admit, batch scripts do have their uses. But imo, they're only meant for procedural, system related things, and nothing else. I've actually got (or had, some of the programs changed a bit and I never got around to updating it) a dedicated "virus tools" flashdrive that i plug into a computer and autorun starts a batch script that installs several antivirus tools to a specific location and then begins running them sequentially to scan for viruses. Which is pretty useful.
I just don't see how you could possibly write a game in a batch script and still keep your sanity.
I thought it sounded kind of nutty that someone would make batch games. I did a search; it turns out that there is a substantial base of batch game programmers who make some fairly involved looking games (for batch).

There is at least one person, SmartGenius, who has a whole bunch of batch games demonstrated on youtube.

http://www.youtube.com/watch?v=MXZ0tOTvF_8
http://www.youtube.com/watch?v=OkfARFKkcHo
http://www.youtube.com/watch?v=HCLPB4WLRbU
http://www.youtube.com/watch?v=4HycZnygUIk
Last edited on
closed account (S6k9GNh0)
That is impressive indeed... It almost sounds fun. I might have to make a few challenges based off of this...
I get the impression its impressive cos its a stupid thing to write games in?
It's impressive because of how much free time they have.
closed account (S6k9GNh0)
It's impressive because the language was probably not meant for that and you have to probably go through ice and fire to make it happen. A challenge if you will.
closed account (Dy7SLyTq)
theres also a chess game built in batch thats been floating around for a while
hrm that makes me think, could organise a cplusplus.com chess tournament, we caould arrange our times to play and output the results on a thread :D
@devonrevenge
That would be a really cool idea. I haven't played chess in some 7 years though, lol.
Rather than flood the forum with chess move threads, why not start a chess game project and include networking functionality.
closed account (1yR4jE8b)
Found this on Github, seemed relevant...a 3D FPS written in Bash.

https://github.com/EvilTosha/labirinth/blob/master/lab2.sh
closed account (Dy7SLyTq)
@naraku: whos going to build it though?
just one thread should have all da moves on it only, could make it a rule.
Last edited on
closed account (Dy7SLyTq)
and then we just keep a tourney and our own representation of the board
closed account (3qX21hU5)
If anyone does commit to a chess game built by community members I would like to offer my help to the project. Let me know if you have a team member spot open
i think it needs a team leader, everyone wants to do it no one is keen to start it, Zereo, i think you volunteered yourself :D
closed account (Dy7SLyTq)
forget what was here
Last edited on
Pages: 123