Recursion-Group-P / blokee

https://blockee.netlify.app
3 stars 0 forks source link

Blockee

The board game "Blokus" built on top of Quasar.

https://blockee.netlify.app

Get it on Google Play


About

The aim of the game is for players to place as many pieces on the board as possible.
Each player starts with 21 unique pieces and must place each piece diagonally adjacent to another.
Points are accumulated based on the size (length) of the piece placed by the player.
The game ends when all players have placed their pieces, or when no players can place anymore pieces.

Features

$$ w_i = size_i \cdot W0 + \frac{\sum(cor{my} - cor{opp})}{n{opp}} \cdot W_1 $$

where,

$$ w_i = \text{weight of piece } i $$

$$ size_i = \text{size (length) of piece } i $$

$$ cor_{my} = \text{number of corners for current player} $$

$$ cor_{opp} = \text{number of corners for opponent players} $$

$$ n_{opp} = \text{number of opponents} $$

How to run

Install the dependencies

yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev

Build the app for production

quasar build