iguverse / tasks-candidates

1 stars 0 forks source link

React Native + Expo #2 #8

Open Spikus opened 1 year ago

Spikus commented 1 year ago

Test Assignment for Senior React-Native Developer (with experience in EXPO and Typescript)

Objective: Develop a mobile and web application using EXPO that displays a circle divided into an arbitrary number of sections.

Requirements:

Basics:

Utilize React Native with EXPO and Typescript. The application should be functional on both mobile devices and the web. Circle Component:

Create a component that accepts a parameter N – a number indicating the number of sections in the circle. Each section of the circle should be equal and clearly visible. It is advisable to use different colors or shades for each section. Interaction:

Users should be able to "spin" the circle with their finger (on mobile) or mouse (on the web). When initiating the circle's spin, it should continue to move for some time after the user releases it, emulating inertia. The circle should provide tactile feedback upon interaction. After the spinning ends, the program should determine and display which section stopped at the 12 o'clock mark. Additional Notes:

The code should be well-structured, clean, and easily readable. Adhere to best practices when developing in React Native and Typescript. Submission:

The code can be provided in the form of an open repository or a ZIP archive. Include instructions for launching the application.