← Back to Games

🎮 Bit Playground

Experiment with basic bitwise operations - see bits change in real-time!

⚡ Select Operation
🔗
AND
A & B
OR
A | B
XOR
A ^ B
🔄
NOT
~A
⬅️
Left Shift
A << n
➡️
Right Shift
A >> n
💻 Bit Display
A =
0
B =
0
A & B =
0

📚 Bitwise Operations

AND (&)
1 & 1 = 1, else 0
OR (|)
0 | 0 = 0, else 1
XOR (^)
Different = 1, Same = 0
NOT (~)
Flip all bits
Left Shift (<<)
Multiply by 2^n
Right Shift (>>)
Divide by 2^n