eubinecto / kalah-bot

OMP34120 AI and Games First Semester Project Kalah Bot Source code
1 stars 0 forks source link

Build a random agent in python3 #1

Open eubinecto opened 3 years ago

eubinecto commented 3 years ago

why?

goal?

the goal is to write:

so that on running the following commands in bash:

python3 random_agent.py localhost 12345
java -jar kalah/ManKalah.jar "nc localhost 12345" "java -jar kalah/MkRefAgent.jar"

we can replicate exactly the same behaviour of:

nc -l localhost 12345
java -jar kalah/ManKalah.jar "nc localhost 12345" "java -jar kalah/MkRefAgent.jar"

note: the -l option for nc command is for "listen mode. For inbound connects".

well, that's the goal as of right now. Just replicate what we can do with the Java code base.

how?

eubinecto commented 3 years ago

still having some issues with handling game over message. Will fix this after I'm dome with #3