這是一個隨機開發日誌,我用它來追蹤隨機的事情,也作為 idk 的時間膠囊
如標題所示,該專案是一個用 Java 編寫的 Pokemon Battle Simulator。這將是一款離線遊戲,僅使用人工智慧作為第二玩家。多人遊戲功能並非設計用於製作。
Dang,為什麼我現在才想到寫一個開發日誌?從一開始就應該這樣做或其他什麼。
如果您正在閱讀本文,歡迎!請隨時留下任何反饋。批評確實是必要的。哎呀,任何評論都值得讚賞,只要它是具體的,這樣我就知道它的哪一部分是好/壞。
public class Pokemon // calls pokemon.csv for initialization : all stats (hp, attack, defense, specialAttack, specialDefense, speed) class BattlePokemon extends Pokemon : effective stats for each stat : accuracy and evasion : stat changes (array) // only initialized in battle public class Move // calls moves.csv for initialization : power, accuracy, PP f() apply f() calculate damage f() handle effects class TypeChart // is used by f() calculate type multiplier // calls typechart.csv for type chart public class Battle // does nothing rn f() turn // does nothing as well
免責聲明: 提供的所有資源部分來自互聯網,如果有侵犯您的版權或其他權益,請說明詳細緣由並提供版權或權益證明然後發到郵箱:[email protected] 我們會在第一時間內為您處理。
Copyright© 2022 湘ICP备2022001581号-3