Giter Club home page Giter Club logo

wordris's Introduction

Fanavard 96 Contest, UI Development, Final Question

Online on Surge:

https://wordris.surge.sh

Personal Information

Project Information - Technology

Libraries:

  • preact-cli v2.1.0

  • preact v8.2.9

  • mobx v5.0.3

  • jest v21.2.1

  • full details in package.json file

Installation Guide:

1- You need to install Node and Yarn(NPM has run intor some troubles recently):

Node download

Yarn installation

2- Open your terminal as administrator in project's root directory and enter the command below to install project dependencies It's recommended to use a VPN for installing modules

yarn

3- Make sure that your localhost's port 8080 is not used by any other app and then run the command below to run project Production version on your localhost https://localhost:8080 protocol:

Important Note: If you're using Windows don't use Windows' powershell or command prompt to run this command instead use a bash terminal such as git bash which can be installed from git make sure to check git bash installation

Also for testing on the mobile and use "ADD TO HOME SCREEN" feature and offline usage We have deployed this on Surge here

yarn run serve

and to run Development Version run this command:

yarn start

4- open your browser and navigate to localhost:8080.

5-(optional) You can run tests anytime by the command below

Important Note: If you're using Windows make sure that folder full directory doesn't contain any parens such as C://folder(1)/... otherwise acording to this bug on Jest itself github issue it won't find .test.js files

yarn test

Project info:

  • For Better UX we made this project a Progressive Web App(PWA).

  • The Production version of this game's Google Lighthouse PWA score is 100 which is perfect.

  • This app wasn't large enough so we decided to use Preact instead of React Because It's much lighter(3kb) and has the same API as React.

  • We used a compact version of CSS 7-1 pattern to organize CSS files.

  • Scores are saved in localStorage and they are avaliable after browser relunch.

  • This game has an online multiplayer game mode which makes it more enjoyable to play.

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.