js小遊戲--摘星星

在培訓的時候老師帶着寫的一個小遊戲,頁面上隨機出現星星圖案,鼠標點擊圖案消失,可自定義時間,速度等,沒有完善過,很粗糙的一個小遊戲。javascript html以下css <body> <input type="button" value="點擊開始遊戲" onclick="init()"> <span id="span1">遊戲進行0秒</span> <input type="butto
相關文章
相關標籤/搜索