Merge branch 'feature/update_to_fit_mlgame_9_5' into develop
# Conflicts: # README.md # config.py
This commit is contained in:
18
README.md
18
README.md
@ -1,16 +1,14 @@
|
||||
# **Easy Game**
|
||||
<img src="./asset/logo.svg" alt="logo" width="100"/>
|
||||
|
||||
[comment]: <> ()
|
||||
|
||||

|
||||
[](https://www.python.org/downloads/release/python-390/)
|
||||
[](https://github.com/PAIA-Playful-AI-Arena/MLGame)
|
||||
[](https://github.com/PAIA-Playful-AI-Arena/MLGame)
|
||||
[](https://github.com/pygame/pygame/releases/tag/2.0.1)
|
||||
---
|
||||
這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例
|
||||
|
||||

|
||||
|
||||
這是一個吃東西小遊戲,也是 PAIA 的遊戲教學範例
|
||||
|
||||

|
||||
|
||||
---
|
||||
# 基礎介紹
|
||||
@ -65,12 +63,10 @@ game = EasyGame(time_to_play=1000, total_point_count=10, score=5, color="FF9800"
|
||||
## 使用AI玩遊戲
|
||||
|
||||
```bash
|
||||
# python MLGame.py [options] easy_game [time_to_play] [total_point_count] [score] [color]
|
||||
python MLGame.py -i ml_play_template.py easy_game --time_to_play 1200 --total_point_count 15 --score 10 --color FF9800
|
||||
# 在easy game中,打開終端機
|
||||
python -m mlgame -i ./ml/ml_play_template.py ./ --time_to_play 1200 --total_point_count 15 --score 10 --color FF9800
|
||||
```
|
||||
|
||||
遊戲參數依序是[`time_to_play`] [`total_point_count`] [`score`] [`color`]
|
||||
|
||||
## AI範例
|
||||
|
||||
```python
|
||||
|
Reference in New Issue
Block a user