src/
├── components/ basic components for global
├── config/ constants and config file for project
├── pages/ page for the project
│ ├── simulator
│ ├── components component for the simulator
├── store/ use redux to store data shared by project
├── utils/ utility function for global project
└── App.js the entry of the app
- Git
- React Native
- Node(Yarn or Npm)
- Xcode && Simulator or Android Env && Simulator
- git clone https://github.com/JohnyXu/RobotPuzzle.git
yarn
to install the dependencies
Please guarantee the iOS or Android Env is ok.
- run android simulator by typing
yarn android
in the root project. - run ios simulator:
yarn ios
- run test cases:
yarn test
- input data below and then enter or click Run button:
- reset button will reset the data in memory
PLACE 1,2
MOVE N
MOVE E
REPORT