A browser-based puzzle game combining Sudoku grids with Tetris-style block placement mechanics. Players strategically place polyomino shapes on a 9x9 grid to clear rows, columns, and 3x3 subgrids.
# Clone the repository
git clone https://github.com/theredone89/dokublocks.git
cd dokublocks
# Install dependencies
npm install
# Start Nuxt in development mode
npm run dev
The game will be available at http://localhost:3005
# Run in development mode
npm run dev
# Build for production
npm run build
# Preview production build
npm start
# Run Neon DB migration (if using Neon)
npm run migrate
If you are using Neon, set one of these environment variables:
NETLIFY_DATABASE_URL=...
# or
DATABASE_URL=...
/api/*)@netlify/neondb/scores.json)GET /api/leaderboard - Retrieve top 10 scoresPOST /api/score - Submit a new scoredokublocks/
├── pages/ # Nuxt pages
│ └── index.vue
├── server/ # Nitro API and server utilities
│ ├── api/
│ │ ├── leaderboard.get.ts
│ │ └── score.post.ts
│ ├── database/
│ │ └── migrations/
│ └── utils/
├── public/ # Static assets and game scripts used by Nuxt page
│ ├── css/
│ │ └── styles.css
│ ├── js/
│ │ ├── Grid.js
│ │ ├── Pieces.js
│ │ ├── ScoreManager.js
│ │ ├── Renderer.js
│ │ ├── InputHandler.js
│ │ └── Game.js
├── scripts/
│ └── migrate.mjs
├── nuxt.config.ts
├── db/ # Data storage
│ └── scores.json
└── tasks/ # Development tasks and specs
ISC License - See LICENSE file for details
Developed as a web implementation of the popular Blockudoku puzzle game concept.
🎮 Server is running! Open http://localhost:3005 in your browser to play!
Enjoy the game! 🎲