Shawnsyx / hit-1170300403

For the course "Open source ......"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is Shawn's repository. Hello!

What is this project?

 Basically, it's an easy project which I finished in the process of learning the multi-threads.

 There are some bridges where there are lots of monkey trying to get across the river. A monkey either moves from the left to the right or from the right to the left. If two monkeys with the different directions are on the same bridge, then both of them can't move on,i.e. this is a failure.

 What I'm working on is to make sure every monkey can reach the opposite side of the river. Also, time consumption is taken into account.

What can be improved?

 Honestly, the cartoon used to simulate the crossing-river process. And the strategies monkey choose to pick a bridge to climp on.

About

For the course "Open source ......"

License:MIT License


Languages

Language:Java 100.0%