Giter Club home page Giter Club logo

windows98's Introduction

Windows98 Theme / Music Player / Tetris

screencapture-win98-game-web-app-2023-06-07-23_01_26

HTML, CSS, JS를 이용해 만든 Windwos98 테마의 사이트입니다.

사용 스택

  • Vite를 사용하여 사이트를 번들링하고 관리합니다.
  • firebase를 이용하여 사이트를 배포합니다.
  • SCSS를 사용하여 사이트의 레이아웃을 설계합니다.
  • GSAP를 사용하여 마우스를 커스텀합니다.

구현 내역

  • 자바스크립트의 windwo 객체 이벤트와 gsap를 이용해 마우스 커스텀
  • 자바스크립트의 audio 객체의 속성을 이용해 뮤직 플레이어 제작
    • audio 객체 속성 : currentTime, duration, volume
    • audio 객체 메서드 : play(), pause()
  • 자바스크립트의 다양한 메서드 및 속성을 이용해 테트리스 게임 제작
    • boolean 자료형을 이용한 실행 관리
    • prepend(), some() 메서드를 이용한 라인 및 블록 생성
    • keydown 이벤트를 이용해 블록 이동
    • async / await와 new Promise를 사용한 game over 효과

프로젝트 실행

  • Vite를 설치합니다. npm create vite@latest
  • GSAP를 설치합니다. npm install gsap
  • jQuery를 설치합니다. npm install jquery
  • Vite 환경설정은 vite.config.js 파일을 만들고 다음과 같이 작성합니다.
export default {
    root: 'src',
    build: {
        outDir: '../public',
    }
}

windows98's People

Contributors

leeyanggoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.