<style> .reveal { font-size: 30px; } </style> # 人工智慧導論 ## 康威生命遊戲 ### 第一組 ---- ## 組員名單 | | 組長 | 組員一 | 組員二 | | ---- | ----- | ----- | ----- | | 姓名 | 高聖傑 | 蔡明軒 | 張子姍 | | 系級 | 資工113 | 資工113 | 資工113 | | 學號 | B093040016|B093040044|B093040053| ---- ## 前言 - 我們這組做了三種不同的生命遊戲的版本,但因為考量到時間的不足,這裡只介紹最有互動性的版本 --- # 程式介紹 [source code](https://github.com/Yukimura0119/ConwayLifeGame) ---- ## 使用前請先... 1. 安裝python3 2. 安裝PyGame,Numpy ---- ## 程式內可以調整一些參數 ![](https://i.imgur.com/hvC2nkr.png) ---- ## 開始時會新增許多細胞於視窗上 ![](https://i.imgur.com/DCxGUYl.png =400x) ---- ### 終端會輸出每個單位時間有幾個細胞出生/死亡 ![](https://i.imgur.com/SofDmAu.png =600x) ---- ## 可用的操作 - 按下c: 清除所有細胞 - 按下p: (暫停/重啟)時間流動 - 在暫停狀態下 - 按下左鍵: 新增細胞 - 按下右鍵: 刪除細胞 --- # DEMO --- # QA TIME --- # Thanks for listening
{"metaMigratedAt":"2023-06-16T14:29:20.221Z","metaMigratedFrom":"YAML","title":"人工智慧導論 生命模擬 康威生命遊戲","breaks":true,"slideOptions":"{\"theme\":\"moon\",\"transition\":\"fade\"}","contributors":"[{\"id\":\"e66eff6e-ecb8-470a-a384-ea2a02e04747\",\"add\":861,\"del\":1019},{\"id\":\"a8528c1d-4f69-45d5-a840-726bc6afe86a\",\"add\":159,\"del\":1}]"}
    504 views
   Owned this note