donghoony / webp_brick Goto Github PK
View Code? Open in Web Editor NEW22-1 웹프로그래밍 팀프로젝트: 벽돌깨기
22-1 웹프로그래밍 팀프로젝트: 벽돌깨기
벽돌, 공, 패들 등의 이미지 추가하기
Abstract한 Item class 작성
각 아이템들이 상속받아 사용할 수 있도록 간단히 구현
10초 간 아이템의 효과가 적용되는 기능 추가
Paddle.calculate() : 패들을 마우스 위치에 따라 위치변경하는 함수 작성
기존 10개 -> 9개로 수정
Abstract Item을 상속받는 세부 아이템 클래스 작성
checkCollision(canvas, brick): 공의 충돌 계산 함수 작성
Brick.draw(canvas) : 블럭을 canvas에 그리는 함수 작성
checkPaddleCollision(canvas, paddle): 공과 패들의 충돌 판정
가장 왼쪽 / 오른쪽 각도를 30도 정도로 맞추면 좋을 것 같아용
점수 및 남은 목숨을 그리기 위한 캔버스 추가를 위한 HTML 수정
메뉴를 띄우기 위한 JS 코드 작성
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.