Skip to content

The main purpose of the project is to write the project based on Object-oriented programming (OOP) paradigm.

Notifications You must be signed in to change notification settings

User-960/Flappy-Bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy-Bird

The main purpose of the project is to write the project based on Object-oriented programming (OOP) paradigm. The project itself is a game Flappy Bird, which is drawn on canvas. The Flappy-Bird is built on the Webpack.

Rules of the game

At the start of the game, a field appears on which different entities are drawn. The essence of the game is such that the bird must fly through the free space of the pipes. A score is recorded for each flight. For a certain number of points is awarded a medal. If the bird collides with a pipe or falls to the ground, it is game over.

What is used:

  • Programming languages: HTML, CSS, JavaScript ES6;
  • Bundler: Webpack;
  • Preprocessor: SCSS;
  • Libraries: Babel, ESLint, Husky;

To clone repository

git clone https://github.com/User-960/Flappy-Bird.git

To install packages, use the command

npm install

* Before start project you need to make file .env in root of project and copy from file .env.example variables with meanings in new file. Or you can write your own meanings for variables in file .env

Commands

Launching a development server

npm run start

Building a project without optimization

npm run build-dev

Building a project with optimization

npm run build-prod

Cleaning up the dist folder

npm run clear

Checking the src folder for an error according to the set of rules

npm run eslint