o-an-quan's People
Forkers
locmaio-an-quan's Issues
Setup linting workflow
As a contributor, I want to have a auto-triggered workflow that run lint check for every PR.
AC:
- Lint checking workflow for every PR to the
main
branch
Reference:
Danger is preferred here: https://danger.systems/
Setup build workflow
Handle turn-based action
Chess board component
Develop a chess board component contains:
A rectangle which is divided into ten squares (5x2) with two semicircles at each end is drawn on the floor or the yard. The ten squares are called "rice field square" and the two semicircles are called "Mandarin squares".
AC:
- Open for add-on logic later.
- Open for add-on fields and board for (3-players, 4 players game in phase 3)
Create game
Summary
As a user, I want to go the front page of the site, click on the create game and redirect to a chess board
ACs
- Able to click on create button
- User got redirected after that
- New session link created
Update dev/prod setup doc
Handle game rules
Game rules:
Ref: https://en.wikipedia.org/wiki/%C3%94_%C4%83n_quan
https://www.youtube.com/watch?v=HAmym2F5vhs
Start
Setup: 1 Big stone on each Big square, 5 Small stone fo each Small square.
Loop cycle:
- Check if all fields of the player on that turn that has no Small stone. Then divide 5 Small stones equally to the Small squares on their side.
- Player pick the square and the direction (left or right) to move.
- Post-move check -> Check if 1 on these 3 cases:
3.1. If the next square is blank and the next square has stone(s), the player take all the stone and repeat the post-move check on step 3.
3.2. If the next 2 squares are blank: End the player turn.
3.3. If the next square has stone(s), keep moving. - Check if both Big squares are blank, end the game if yes.
ACs:
- Implement the basic rules above.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.