Add parity bit interactive
Implement a new interactive game based on parity bits. The game features an n x n grid of toggleable squares, where 'n' is adjustable via a slider (2-10). Users can set the grid, add parity bits to an extra row and column, flip a bit, and then identify the flipped bit by highlighting the corresponding row and column.
This commit is contained in:
parent
5adaa9e1a3
commit
db72f6c63c
3 changed files with 288 additions and 0 deletions
12
src/pages/ParityBitsGamePage.tsx
Normal file
12
src/pages/ParityBitsGamePage.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import Layout from "@/components/Layout";
|
||||
import ParityBitsGame from "@/components/ParityBitsGame";
|
||||
|
||||
const ParityBitsGamePage = () => {
|
||||
return (
|
||||
<Layout>
|
||||
<ParityBitsGame />
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
|
||||
export default ParityBitsGamePage;
|
||||
Loading…
Add table
Add a link
Reference in a new issue