Last updated: 23 September 2026
Setting Up the Match
Two-player Basketball Random is a local mode, so setting it up takes three steps and no accounts. Load the game in the frame above, select 2 Player on the title screen, and click once inside the frame so the browser gives it keyboard focus. Then decide who sits on which side: Player 1 uses W for the left team and Player 2 uses the Up Arrow for the right team. That is the entire configuration.
Because the mode is local, both players are on the same machine and see the same court. There is no room code to share, no matchmaking, and no connection to drop. What you lose in reach you gain in immediacy: a match begins the moment both hands are on the keyboard.
How a Round Actually Flows
Both keys are live for the whole match. There are no possessions, no inbounds, and no whistles — the ball goes up, both players fight for it, and a basket ends the exchange. The first side to reach five baskets wins, and a fresh randomised setup appears after each score.
The randomness is per-round rather than per-player, which matters for fairness. Both sides face the same court, the same ball, and the same physics for that round, so the randomiser never decides a match on its own. What it does do is reset any advantage one player had built up: a heavy ball that punished long shots in one round may be replaced by a light one that rewards them, so a player who found a comfortable rhythm has to find it again.
There is also a special ball that can be worth two points. Because a two-point basket can close a gap quickly, no lead is completely safe, which is why protecting possession late in a match beats attempting a low-percentage shot.
What Each Key Does
One key per side controls everything, which is where a lot of new players go wrong — they assume the key only shoots. In practice a press can make your front player jump for the ball, send the teammate behind them up to block, or produce a shot, depending on where the ball is and where your players are standing. The same input has different consequences, and reading which consequence you will get is the skill.
On defense, an early jump can put a long-armed player between the ball and your hoop. On offense, jumping as the ball arrives near the rim is usually better than jumping early and letting your player drift underneath it. Short players often need to work closer to the hoop, while long-armed players can contest from further out — but that difference is also randomised, so check your players at the start of each round rather than assuming last round's reach.
Per-Round Tactics for Head-to-Head Play
Read the setup first
The first second of a round tells you the ball's weight, the court's grip, and your players' reach. Test the first bounce before committing to a full press.
Jump second
When your opponent jumps early, they are briefly out of the play. Waiting for that commit and then jumping wins more balls than reacting instantly.
Hold the middle
Sitting between the ball and your own hoop forces a harder angle. Chasing the ball into a corner rarely ends well.
Break your own rhythm
After two or three rounds your friend knows your timing. Change when you press, not just how often.
The last point is the one that decides long sessions. Against the computer, a fixed rhythm can work for a while. Against a person, a fixed rhythm is a gift. Players who alternate between waiting and pressing aggressively are much harder to defend than players who are merely fast.
Solving Common Two-Player Problems
If a key does nothing, click inside the game frame first. If only one player's key works, check that the match was actually started in 2 Player mode rather than 1 Player. If the game area is a black rectangle or shows a “Software update needed” message, the problem is graphics rather than controls — the browser could not create a WebGL context, and the WebGL troubleshooting steps on the homepage cover that. If a keyboard is not an option at all, both players can use touch on a phone or tablet, one side each, though the court is cramped in portrait.
A keyboard with two sets of arrow keys or a compact layout can make the Up Arrow awkward for the right-hand player. In that case swap seats so the player using the Up Arrow sits on the side where it is comfortable — the keys are tied to the side of the court, not to the person.
Frequently Asked Questions
How do I start a 2 player match in Basketball Random?+
Load the game, choose 2 Player from the menu, and press W or the Up Arrow to begin. Player 1 controls the left side with W and Player 2 controls the right side with the Up Arrow.
Which player is which side?+
Player 1 takes the left side of the court and uses W. Player 2 takes the right side and uses the Up Arrow. Neither player can control the other team.
Does the second player need a turn, or can both play at once?+
Both play at once. There are no turns and no pause between possessions. Each side has its own key and both are live the whole time.
Why is only one button used per player?+
Because the game is built around timing rather than a move list. One key covers jumping, blocking, and shooting, which is what makes the physics the deciding factor.
Can I swap sides with my friend?+
Restart the match or start a new one and have each person sit on the other side. The keys are tied to the side, not to a saved profile, so swapping simply means swapping seats and keys.
How do I beat someone who keeps jumping first?+
Let them commit, then jump. An early jump takes your opponent out of the play, so the player who jumps second often wins the ball. Vary your timing across rounds so they cannot predict you.
Are the two scores kept separately?+
Yes. Each side has its own score, and the first side to reach five baskets wins the match.
Related Pages
For the wider question of how same-screen basketball formats compare, see two-player basketball games. For full controls, scoring, and single-player details, go back to Basketball Random Game. If the game will not load on your network, the unblocked version guide explains what you can and cannot change, and the basketball games hub links the rest of the site.