This project was generated with Angular CLI version 1.7.3.
just git clone it and after npm i, type ng serve -o,play this game
- this project is assembled by a main component, a container component ,and shapeComponent ;
- Main component is named app.commponent that in charge of load dynamic container component and shapeComponent;
- Shape component is the shape appear at game's interfae, it's has four-kind-of shape:
- Shape-yi just like Chinese characters '一' is a straight and horizontal line;
- Shape-shan just like Chinese characters '山';
- Shape-zhi just like Chinese characters '之';
- Shape-tian just like Chinese characters '田' is a square;
Until tody,2018-04-03 9.27 AM, I finished Shape-shan's,Shape-yi's,Shape-zhi's transform,animate,move and other function of game.For Example, count Score, the abstract Modal of this game. Now i hope someone who can establish this game with Me
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.