benrosen / pixel-chess

Multiplayer pixel art chess powered by Phaser, React, and AWS.
0 stars 0 forks source link

Drag and drop chess pieces that snap to grid squares #4

Open benrosen opened 3 years ago

benrosen commented 3 years ago

Drag and drop a chess piece on a grid. The chess piece should stick to the pointer until dropped on a grid-square. The chess piece should snap to the center of the grid square when dropped.

benrosen commented 3 years ago

This plugin provides a gameboard system for phaser 3. It contains the ability to move pieces around the board and snap them to the grid.

benrosen commented 3 years ago

Players should only be able to move their own pieces.

benrosen commented 3 years ago

Players should only be able to move on their turn.

benrosen commented 3 years ago

Moves should be created and validated via a GraphQL mutation resolver. The resulting game state will be received via subscription as described in #5

benrosen commented 3 years ago

Moves can be validated with chess.js