Connect-4 on Firebase.
This project was generated with Angular CLI version 1.7.0.
Run yarn dev:w
for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
Run yarn
to install needed libraries.
Run yarn prebuild
to generate HTMLs from Pugs.
src/app/components
for UIsrc/app/containers
play role of Controllerssrc/app/services
share data and logicsrc/app/helpers/game-helper.ts
helps to solve complicated things, i.e. check valid positions, check win cases
Run yarn build
to build the project for production. The build artifacts will be stored in the dist/
directory.
firebase deploy
will deploy files in dist
.
Run yarn 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.