Batch Coding!

Pages: 123
Feb 17, 2013 at 11:23am
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.
Feb 17, 2013 at 6:38pm
closed account (S6k9GNh0)
Because batch isn't really a language...
PowerShell is closer to the bash alternative.
Feb 17, 2013 at 6:49pm
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 Feb 17, 2013 at 8:22pm
Feb 17, 2013 at 7:03pm
@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.
Feb 17, 2013 at 7:04pm
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 Feb 17, 2013 at 7:09pm
Feb 17, 2013 at 7:36pm
closed account (S6k9GNh0)
That is impressive indeed... It almost sounds fun. I might have to make a few challenges based off of this...
Feb 17, 2013 at 8:47pm
I get the impression its impressive cos its a stupid thing to write games in?
Feb 18, 2013 at 12:12am
It's impressive because of how much free time they have.
Feb 18, 2013 at 1:53am
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.
Feb 18, 2013 at 5:40pm
closed account (Dy7SLyTq)
theres also a chess game built in batch thats been floating around for a while
Feb 18, 2013 at 11:43pm
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
Feb 19, 2013 at 1:33am
@devonrevenge
That would be a really cool idea. I haven't played chess in some 7 years though, lol.
Feb 19, 2013 at 1:50am
Rather than flood the forum with chess move threads, why not start a chess game project and include networking functionality.
Feb 19, 2013 at 3:33am
closed account (1yR4jE8b)
Found this on Github, seemed relevant...a 3D FPS written in Bash.

https://github.com/EvilTosha/labirinth/blob/master/lab2.sh
Feb 19, 2013 at 5:49am
closed account (Dy7SLyTq)
@naraku: whos going to build it though?
Feb 19, 2013 at 10:29am
just one thread should have all da moves on it only, could make it a rule.
Last edited on Feb 19, 2013 at 10:29am
Feb 19, 2013 at 3:23pm
closed account (Dy7SLyTq)
and then we just keep a tourney and our own representation of the board
Feb 19, 2013 at 5:46pm
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
Feb 19, 2013 at 8:00pm
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
Feb 19, 2013 at 8:28pm
closed account (Dy7SLyTq)
forget what was here
Last edited on Feb 19, 2013 at 8:50pm
Pages: 123