Code Monkey home page Code Monkey logo

bug-game's Introduction

순수 Javascript로만 구현한 벌레잡기 게임


main screen

프로젝트 소개


game popup

벌레잡기 게임은 random으로 벌레와 벌레의 개수가 정해지면 잔디에서 해당 벌레를 제한시간 안에 제거하는 게임입니다.

⭐️ 1. field에 벌레 추가

각각 랜덤한 개수의 벌레들이 잔디에 추가

⭐️ 2. 지정된 벌레 제거

지정된 벌레만 제거해야하고, 잘못된 벌레를 제거하거나 제한시간에 제거하지 못하면 실패

⭐️ 3. popup 창 기능

게임 성공, 실패 또는, 게임을 정지할 경우 popup 창 생성

⭐️ 4. 배경, click, popup 사운드 추가

Tech


front-end github

느낀점


기능 구현하는 것은 수월하게 했지만, 모듈화 시키는 작업에서 많은 시간이 걸렸다.

main을 조금 더 간단하게 만들기 위해 game에 관한 모듈을 하나 만들기 위한 시도를했지만, 잘 되지 않았다.

이번 프로젝트는 모든 기능을 먼저 main에서 만든 후 모듈화 시켰는데

다음 프로젝트는 모듈로 먼저 나눠서 구조를 분석한 뒤 개발을 해야겠다.

bug-game's People

Contributors

yujin0719 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.