BlockFallWar is a browser-based block fall game built with TypeScript, TailwindCSS, and Webpack. The project is designed for rapid prototyping and UI iteration, with all game logic running in the browser.
- Two-player block fall battle
- Modular game logic in TypeScript
- Responsive UI styled with TailwindCSS
- Hot reload for fast development
- Install dependencies:
npm install
- Start dev server (opens the game in your browser with hot reload):
npm start
- Run tests (runs Jest unit tests):
npm test
- Add new block types/behaviors:
- Update
src/block.tsandsrc/gameBoard.ts
- Update
- Style new components:
- Add Tailwind classes in HTML or custom rules in
src/style.css
- Add Tailwind classes in HTML or custom rules in
- TypeScript only (no frameworks)
- UI uses Tailwind utility classes
- Minimal shared state between game boards
- All logic is currently client-side
MIT