ravsii / elgo

In-Memory matchmaking based on Elo rating
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Implement FIFO\Queue pool #8

Open ravsii opened 1 year ago

ravsii commented 1 year ago

I don't know how exactly to do that right now in terms of API. Could be as a separate pool, or an options to NewPool()

Related: #7

ravsii commented 1 year ago

Bro, this looks straight up copy-pasted from ChatGPT, and it's not even related to the project.

E: There was another comment that was deleted

mtnvdsk commented 1 year ago

I am new to contribution ,can I know what is the project your issue is?

ravsii commented 1 year ago

Hey, @mtnvdsk . I could write a detailed explanation a bit later, but shortly, the problem is: Currently we have a basic pool (pool.go) that accepts players and returns found matches based on players' elo rating. There's a how-it-works diagram in README.

We'd probably more types of pools, which will have different "match found" algorithm, so FIFO is one of them (obviously it just matches players without comparing their Rating).