'use client'; import React from 'react' import Bingo from './bingo.tsx' export default function BingoController(){ const [size, setSize] = React.useState(5); const buzzwords = ["Cloud", "Cyber", "Distruptive Technology", "AI", "Metaverse", "Gamification", "Web 2.0/3.0", "Industry 4.0", "Internet of Things", "Multiexperience", "Big Data", "Crypto", "[Insert bullshit here] as a service", "Emerging Market", "Streamline"]; const [items, setItems] = React.useState(buzzwords); const sizeError = ((items.length % size) != 0); return( <>
setSize(s)}/>
3x3 4x4 5x5
Regenerate
{sizeError &&
Warning: Mismatch between item count and size
} ); }