Code Monkey home page Code Monkey logo

japan-map-puzzle-v2's Introduction

Japan Map Puzzle

https://japan-map-puzzle-v2-zhuyue.netlify.app/

Drag 47 puzzle pieces to match the original map!

Developed in ES6, SASS, and HTML

Bundled and polyfilled with Parcel@1

install modules

npm install

start to dev (output to ./dist)

npm run dev

build (output to ./dist)

npm run build

Previous Version

Access version1 here: https://japanmappuzzle-zhuyue.netlify.app/

Improvements since Version1

dev

  • Use parcel@1 to bundle and polyfill modern javascript
  • Use mvc architecture to organize javascript
  • Use npm scripts to run or build site
  • Use sass(scss) to organize css

features

  • Add "expert" game mode
  • Avoid puzzle pieces from overlapping each other
  • Make responsive button elements

linters

prettier stylelint

.vscode/setting.json

{
    "files.autoSave": "onFocusChange",
    "editor.tabSize": 2,
    "editor.detectIndentation": false,
    "editor.defaultFormatter": null,

    "editor.codeActionsOnSave": {
      "source.fixAll.stylelint": true,
    },
    "prettier.resolveGlobalModules": false,
    "prettier.configPath": ".prettierrc",
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnType": false,
        "editor.formatOnSave": true,
        "editor.tabSize": 2
    },
}

japan-map-puzzle-v2's People

Contributors

shuetsuuu avatar charleshenryhugo avatar

Watchers

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