A simple card drawing web app created with React hosted in github pages.
- Create a deck of 52 with optional (up to 12) jokers cards
- French-suited SVG rendered cards
- Continue drawing from the same deck
- Draw one or multiple cards at once
- Mouseover to draw a card from anywhere in the deck
- Shuffle the deck
- Flip over the deck
- Status bar to show number of cards in deck, hand and previously drawn
- Neatly show cards drawn and cards from previous draws
- svg-cards https://github.com/htdebeer/SVG-cards
- react-widgets/NumberPicker https://jquense.github.io/react-widgets/docs/NumberPicker/
This project was bootstrapped with Create React App.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
Options
- create react-native app. Requires rewriting code 👎
- convert react to native container. No need to rewrite any code 👍
convert react to react-native with Cordova
from: https://stackoverflow.com/questions/35463547/what-is-the-quickest-way-to-convert-a-react-app-to-react-native TLDR;
create Cordova app, add android platform and build. open project with android studio and simulate with virtual device.
Change "homepage": ".",
in package.json
before building
Build cmd
npm run build && cp -R ./build/* ../MyApp/www/ && cd ../MyApp/ && cordova build android && cordova run android ; cd -
Todo with QEMU VM, xcode