Skip to content

Comments

Kc 133 create ranked mode queuing system#82

Open
tuc56407 wants to merge 6 commits intodevelopfrom
KC-133-Create-ranked-mode-queuing-system
Open

Kc 133 create ranked mode queuing system#82
tuc56407 wants to merge 6 commits intodevelopfrom
KC-133-Create-ranked-mode-queuing-system

Conversation

@tuc56407
Copy link
Contributor

@tuc56407 tuc56407 commented Apr 6, 2022

No description provided.

tuc56407 and others added 6 commits April 3, 2022 09:52
… buckets

NOTE: ALL SERVER CODE IS NOW TARGETING LOCALLY HOSTED SERVERS.

This is a large commit involving the initialization and connection of the matchmaker server to the regular mp server. All user communication will go through the mp server only.

Additionally, the groundwork has been laid for all server communication from client to matchmaker and back again. The main piece that is missing now is the actual matchmaking logic. Currently, users are placed in a mmr-specific bucket upon joining the queue to simplify matchmaking.

All ranked game-joining logic has been set in place. Once a condition is met, the matched players will all be emitted the appropriate lobby ID for their ranked game and the front-end logic should be working.
Still no matchmaking algorithm but all data is being passed properly and the game starts
console.log("creating new connection")
socketRef.current = io.connect("https://generated-respected-python.glitch.me")
//socketRef.current = io.connect("https://generated-respected-python.glitch.me")
socketRef.current = io.connect("http://localhost:4000")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to push this to develop?


socketRef.current = io.connect("https://generated-respected-python.glitch.me") //LOCALHOST for local testing
//socketRef.current = io.connect("https://generated-respected-python.glitch.me")
socketRef.current = io.connect("http://localhost:4000")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants