- I have implemented Flood Fill algorithm using React + Node and TypeScript (Algo is written inside the React code.)
- If you want to see my Node.js (Express) API development approach, you check here https://bit.ly/3hdcHnf
- Flood Fill Recursive Algorithm is inside src/components/Board.tsx
- Install node v12.18.0
- Install Node packages -
npm install
- Run Game -
npm run start
- Perfectly follow Single Responsibility rule
- Use
ESLint
to follow specific standards - Add
prettier
to keep code ident - Use TRY - Catch to never miss any error
- I have used
JEST
for testing - Use AAA pattern for writing unit test (Arrange, Act, Assert)