Re: Euphoria Robots etc.
- Posted by Irv <irv at ELLIJAY.COM> Jul 19, 1998
- 607 views
Jeffrey Fielding wrote: > > There is a programming competition on the Internet called POTM > (Programmer > Of The Month), in which programmers submit programs in C, C++, Java (and > some other programming languages) to solve a program or compete against > other programs. There was one in which two programs started in diagonally > opposite corners of a grid, and their goal was to get to the other > program's starting corner. They could issue one command per turn, to move, > build a wall, zap in one direction (the zap would continue in that > direction until it hit something) to destroy a wall or make the other > program loose its turn, or use radar to find out where things are. > The program would get information about the problem from a file passed > as > the command-line parameter. The program would then send its response to > standard output. > Maybe there could be something like this in Euphoria (the POTM contest > does not include Euphoria in the accepted languages, and the programs are > run on Solaris). > If you are interested in the POTM contest, you can find its web site > at > http://www.cs.washington.edu/homes/corin/POTM.PAGES/ Nice! A suggestion to make it more fun - let's use Jesus & Greg's sockets to play over the internet in real time. We'll need a standard game display which everybody copies, and a set of rules. Your program waits for its turn, sends a move, listens for other player(s) moves, and manages the screen. That part is standard, shared by everyone. Obviously, something like this could also be used for human players, but I like the idea of dueling robots. You write the robot's response methods - the smarter the better. (Unless perhaps we deduct points for taking too long to evaluate the situation?) Regards, Irv http://www.mindspring.com/~mountains -- Euphoria programs and links