mas-bandwidth / yojimbo

A network library for client/server games written in C++
BSD 3-Clause "New" or "Revised" License
2.45k stars 238 forks source link

Add the matcher sample back to the repo #196

Closed kbirk closed 7 months ago

kbirk commented 7 months ago

Hey there, while updating my project to the latest yojimbo changes I noticed that the matcher code was removed.

Years ago when I began using yojimbo in my projects I found the code in the matcher example extremely valuable for implementing the connection token logic. I am certain it is valuable to others as well.

If you are open to re-adding it, or putting it in its own repo, I've fixed up the Dockerfile and updated the code a little bit. The changes include:

Thanks again for all the work you've done on these libraries and your articles on network programming!

gafferongames commented 7 months ago

Thank you. I was planning on adding it back in an integrated example form, but I didn't have time over the holidays to finish that work. This will be a good stop gap -- thank you