JesseRWeigel / JesseRWeigel/react-seating-manager

allow for two seats to be the optimum seat

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
important
Dominant language
JavaScript
Stars
5
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In cases were the number of seats in a row is an even number, the middle two seats should have equal value as optimum seats.

Currently only one of the two seats is considered optimum.

The only place optimumSeat is used is in the reserveSeats function. The manhattan distance calculations will probably need to be adjusted as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.