News for hackers. Stuff that matters.
Re:“grep -R doesn't automatically search amazon” by VMG on Tuesday September 25, 2012 @04:18PM (#4572425)

    quake3cli --map anarki -e '(walk-forward) (rotate 0.2) (fire)'
Re:“grep -R doesn't automatically search amazon” by tedunangst on Tuesday September 25, 2012 @05:31PM (#4572778)
Sarcasm? Not the best counterexample, as that's how lots of bots work. The AI engine does not exclusively work by rendering the scene and attempting to visually identify targets.
Re:“grep -R doesn't automatically search amazon” by VMG on Wednesday September 26, 2012 @06:12AM (#4574909)
Still, there has been a lack of outcry about the absence of a quake3 command line version. Because nobody needs it.
Re:“grep -R doesn't automatically search amazon” by jimktrains2 on Tuesday September 25, 2012 @04:28PM (#4572493)
Hmm, would I use -e - or will it read from stdin if I don't supply -e?

How do I pipe to it?

Re:“grep -R doesn't automatically search amazon” by gknoy on Tuesday September 25, 2012 @07:37PM (#4573369)
I imagine you'd read from /dev/random, if you wanted to play as well as I do. All joking aside, I imagine that one could easily write a bot that allowed one to give it heuristics via STDIN or a command line parameter.

I doubt many would do it this way, but it would be consistent with the unix design ethos. One program would manage the Playing the Game and perhaps providing an API for interacting with the game, or even a pluggable section of games, and another would handle generating heuristics (or retrieving them).

Then you could, e.g.:

multibot -g quake3 --name "Rocket Llama" -h rockets.lua multibot -g quake3 --name "Ash" -h shotgun-only.lua cat /dev/urandom | multibot -g quake3 --name "Confused"

multibot -g civ3 --name "Dr. No" -h well-defended-island.lua multibot -g civ3 --name "Dr. Evil" -h meeeeelion.lua

That'd be a nightmare to implement, of course. :-)