Giter VIP home page Giter VIP logo

fds-snake-game's Introduction

FDS Snake 게임 실습

이 프로젝트는 뱀 게임의 로직을 쉽게 구현해볼 수 있도록, 기반 코드를 미리 작성해 놓은 템플릿 프로젝트입니다.

  • 필요한 도구를 설치한 후 프로젝트를 실행시키세요.
  • src 폴더 아래에 SnakeGameLogic.js 파일을 편집하며 변화를 관찰해보세요.
  • 뱀 게임이 제대로 동작할 수 있도록 SnakeGameLogic 생성자의 내부를 채워보세요.
  • config.js 설정 파일을 편집해보세요.

Node 설치

  • 버전 매니저 설치
  • 아래 명령을 차례대로 실행
    • nvm install 8.11.1
    • nvm use 8.11.1

지금 당장 필요하지는 않으나 나중에 필요해질 수 있으므로 아래 도구들을 미리 설치하는 것이 좋습니다.

프로젝트 명령

  • 프로젝트 의존성 설치
    • npm install
  • 프로젝트 실행
    • npm start
  • 프로젝트 빌드
    • npm run build

배포

Netlify자동 배포 기능을 활용해 쉽게 배포를 할 수 있습니다.

  1. Netlify에 로그인한 후, 메인 페이지의 New site from Git 버튼을 눌러 Github 저장소를 연결하세요.
  2. 빌드 설정의 'build command' 필드에는 npm run build를, 'publish directory' 필드에는 dist를 입력하세요.

fds-snake-game's People

Contributors

dongbeenseo avatar seungha-kim avatar

Watchers

James Cloos 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.