mario game

zyeon·2022년 6월 5일
1

web

목록 보기
10/12

🖊 용어정리

1. 타이머

<script>
setTimeout(함수, 밀리초);
setTInterval(함수, 밀리초)
</script>

2. 랜덤숫자

<script>
const rand1 = Math.random();
const rand2 = Math.random();
const rand3 = Math.random();
console.log(rand1);
console.log(rand2);
console.log(rand3);
</script>

🖊 실습

1. jump

마리오게임 하러가기

profile
splunk

0개의 댓글