-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish(yzj): polish render and add practice demo (#56)
* polish(yzj): polish render and add practice demo * doc(hus):update download weight online link * updaate cooperative agent path --------- Co-authored-by: Norman <[email protected]>
- Loading branch information
1 parent
71eb660
commit 630a703
Showing
25 changed files
with
4,042 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Practice | ||
We offer multiple gameplay modes for players to enjoy, including development, battle (Bot and AI) and spectator mode. Our platform supports both single-player and two-player matches. Welcome to explore and enjoy the experience. | ||
|
||
### Download Weight | ||
```bash | ||
wget https://opendilab.net/download/GoBigger/solo_agent.pth.tar | ||
wget https://opendilab.net/download/GoBigger/cooperative_agent.pth.tar | ||
``` | ||
### Quick Start | ||
|
||
#### Installation | ||
```bash | ||
git clone https://github.com/opendilab/GoBigger.git | ||
pip install -e . | ||
``` | ||
|
||
#### Usage | ||
```bash | ||
python battle.py --mode single --map farm # Single-player development | ||
python battle.py --mode single --map vsbot # Single-player vs. Bot | ||
python battle.py --mode single --map vsai # Single-player vs. Single-AI | ||
python battle.py --mode team --map farm # Two-player development | ||
python battle.py --mode team --map vsbot # Two-player vs. Bot | ||
python battle.py --mode team --map vsai # Two-player vs. Team-AI | ||
python battle.py --mode watch # Spectator mode: Team-AI vs. Team-AI | ||
``` |
Oops, something went wrong.