Od zera do JavaScript developera #5

Michal Staskiewicz

https://miksturait.slack.com/

http://bit.ly/miksturait

Agenda

  1. Values, Types, and Operators
  2. Functions &Data Structures - Objects and Arrays
  3. Higher-order Functions
  4. Objects &  first project
  5. Bugs, Errors & Regular Expression
  6. Modules & Asynchronous Programming
  7. Project - A Programming Language (review)
  8. ​Exercises - katas

Agenda

  1. Values, Types, and Operators
  2. Functions &Data Structures - Objects and Arrays
  3. Higher-order Functions
  4. Objects &  first project
  5. Classes and OOP practises
  6. Modules & Asynchronous Programming
  7. Project - A Programming Language (review)
  8. ​Exercises - katas

Snack Challenge  Review

@Szymon

@GrzesiekG

@Malwina 

Chess Game

King

Queen

Rooks

Bishops

Knights

Pawns

Figures:

Figure interface

Properties:

- position<Vector>

- color

- name

Methods:

- possibleMoves()

- move()

Board Interface

Properties:

- movesCount

- nextMoveColor

- figuresPosition<Array>

Methods:

- validateMoves()

- moveFigure()

- deleteFigure()

 

Vector Class

 

Properties:

- x 

- y

Methods:

- add 

- substract

Thanks =>

Made with Slides.com