Click here for free DL of the app version that can save data.
No:5130 2620
Prev Next
hovercraft
Developer User3812|Date and time 23/6/29 19:12:06
Build time 18.995 sec|Game capacity 1.898KB|Script

了解です。では、簡単なゲームとして、数字当てゲームを作りましょう。以下に実装例を示します。


数字当てゲーム

Enter a number between 1 and 100:



このゲームでは、1から100までの数を当てることが目的です。プレイヤーが入力した数字とランダムな数字を比較し、それに応じて適切なメッセージを表示します。プレイヤーが正しい数字を当てると「Congratulations! You've guessed the correct number.」というメッセージが表示されます。 このHTMLファイルをブラウザで開くと、数字当てゲームがプレイできます。順を追って操作してください。

Prev Next   Back  0  0 Menu 

[PR]現在のプレゼントランキング

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

(C)2023 HisashiApp