Clara, the wizard
You can see it in action here: https://clarathewizard.netlify.com/
Before the start
This project runs in Vue.js. So you need some utilities to run:
- Node (=+ v11.15.0)
- Yarn (=+ 1.17.3)
To run the project
Instal node modules:
yarn install
Run development server:
yarn run serve
To compile:
yarn run build
Run the tests:
yarn run test
What's, is this project?
It's a straightforward trick of "magic." You will select one card in one of three piles and in the end, the chosen card will be revealed.
This project has some tests (I'm new to tests. :shame:), so you can check it in /tests
. All the "magic" are in /src/App.vue
component.
This project uses DeckOfCards API to get the cards. And all the icons and arts are from Luiza Giannelli