Updating ranking to de-prioritize some "sub-optimal" courts
This commit is contained in:
parent
a6fb5f35b6
commit
478a6f11bd
1 changed files with 4 additions and 4 deletions
|
|
@ -74,9 +74,9 @@ const CourtRank: Record<CourtSlot, number> = {
|
||||||
[CourtSlot.One]: 0,
|
[CourtSlot.One]: 0,
|
||||||
[CourtSlot.Two]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
|
[CourtSlot.Two]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
|
||||||
[CourtSlot.Three]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
|
[CourtSlot.Three]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
|
||||||
[CourtSlot.Four]: 0,
|
[CourtSlot.Four]: 1, // lower tin
|
||||||
[CourtSlot.Five]: 0,
|
[CourtSlot.Five]: 9, // Из говна и палок (made from shit and sticks)
|
||||||
[CourtSlot.Six]: 0,
|
[CourtSlot.Six]: 9, // Держится на соплях (hanging on by a thread)
|
||||||
[CourtSlot.Seven]: 0,
|
[CourtSlot.Seven]: 0,
|
||||||
[CourtSlot.Eight]: 0,
|
[CourtSlot.Eight]: 0,
|
||||||
[CourtSlot.Nine]: 0,
|
[CourtSlot.Nine]: 0,
|
||||||
|
|
@ -477,7 +477,7 @@ export class BaanReserverenService {
|
||||||
await this.page.waitForNetworkIdle()
|
await this.page.waitForNetworkIdle()
|
||||||
}
|
}
|
||||||
|
|
||||||
// As a wise man once said, «Из говна и палок»
|
// As a wise man once said, «»
|
||||||
private async sortCourtsByRank(
|
private async sortCourtsByRank(
|
||||||
freeCourts: ElementHandle<Element>[],
|
freeCourts: ElementHandle<Element>[],
|
||||||
): Promise<ElementHandle | null> {
|
): Promise<ElementHandle | null> {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue