Giter Site home page Giter Site logo

deadly-calories's Introduction

Deadly calories

This project is a simple implementation of the test task for the position of a front-end developer.

Deployments

On each push to the main branch, the project is automatically deployed to Vercel and GitHub Pages. GitHub Pages is not supporting SPA properly, so for the testing purposes it is better to use Vercel environment.

Implemented features

  • There are list of 6 Mortal Kombat fighters available for selection.
  • Each fighter has a name, a static image and a list of 3 animated images, which are displayed based on the fighter's state.
  • Configuration includes the following params: 'starting calories', 'calories range', 'poison chance'.
  • Application uses Pinia for state management.
  • Configuration is stored in the store and game page is loaded with the url query params. Query params are source of truth and have highest priority.
  • Application uses Composition API.
  • As component library is used Vuetify.
  • Application supports english and norwegian languages.
  • Application supports dark and light themes.
  • Theme and language are stored in the local storage.
  • Styles are written in SCSS.
  • Prettier and ESLint are used for code formatting and linting.
  • Game can be restarted from any round.
  • Logs stored by each fighter for each round and can be viewed in the game page (by hovering over the fighter's image).
  • Logs export is available as a CSV file.

Tech stack

  • pnpm
  • Vue 3
  • Vite
  • Vuetify
  • Pinia
  • Vue-i18n
  • ESLint
  • Prettier
  • SCSS

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Lint with ESLint

pnpm lint

deadly-calories's People

Contributors

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