Click here for free DL of the app version that can save data.
No:13538 83
Prev Next
ポケモン
Developer User5934|Date and time 23/8/28 21:18:00
Build time 23.567 sec|Game capacity 3.062KB|Script

了解しました。以下に、ポケモンのタイプ相性に基づいた簡単なバトルゲームのプログラムを記述します。

Pokemon Battle Game

Your Pokemon

Enemy Pokemon



上記のコードをHTMLファイルに保存し、ブラウザで開くとポケモンバトルゲームが遊べます。プレイヤーのポケモンと敵のポケモンがランダムに選ばれ、攻撃ボタンを押すとタイプ相性に応じたメッセージと結果が表示されます。

Prev Next   Back  0  0 Menu 

[PR]現在の売れ筋Kindle本ランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp