Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback & Code Review od Mentora Zespołu (Mateusz Nowak) #95

Open
wants to merge 157 commits into
base: feedback/mentor-zespolu
Choose a base branch
from

Conversation

MateuszNaKodach
Copy link
Owner

No description provided.

MateuszNaKodach and others added 30 commits January 19, 2021 09:40
Add a GiHub Actions workflow to the project. Every time someone wants to merge commit into develop it will try to build application, run tests and upload new files on GitHub Pages. Build and test checks must pass to be able to merge.
* more project settings

* fixes to settings

* add ESLint

* additional checks for ts code
Co-authored-by: lamparina <anna.lamperska@gmail.com>
with some interfaces, types and constances
PiotrRynio and others added 30 commits February 13, 2021 03:50
…to_account_the_King's_check

#43_Moves_a_piece_taking_into_account_the_King's_check
* Imports fix

* Delete unused code line

* Fix merge

Co-authored-by: PiotrWR <pwrynio@gmail.com>
Co-authored-by: Piotr Witold Rynio <41823689+PiotrWR@users.noreply.github.com>

Co-authored-by: Mateusz Nowak <kontakt.mateusznowak@gmail.com>
…abled (#80)

* Add test

* Change turn to avoid error

* Add pawnPromotionWasEnabled event

* Fix tests

* Block move until promotion is done

* Restore tests for check | Merge changes and resolve conflicts

* Update lock file

* Fix bug

* Add missing test case

Co-authored-by: lamparina <anna.lamperska@gmail.com>
* Initiall commit

* Initiall commit

* Add types

* Fix name of pieceMovesNotCausingAllyKingCheck function

* Add first test

* Add second test

* Finishtest

* Add CheckmatedKing variable and isCheckmatedKing function

* Delete last added function: isCheckmatedKing

* After code review | Update tests

* Add empty method in ChessEngine. Add code in move() method

* Fix last commit

* Add new test

* Delete doubled test

* Fix bug in test

* Finish checkmateHasOccurred function,
In progress: is PossibleMoves

* Finish all without cleaning code.

* EsLint CoderReview | Update

* Add tests for Stalemate Has Occurred

* Add type for Stalemate Has Occurred

* Fix | Fix test for Stalemate Has Occurred

* Fix | Fix test from others tasks because this tests had bug with stalemate event

* Finish stalemate event service

* Eslint CodeReview | Update
* Add positive and negative test cases for castling

* CastlingWasDone  - positive cases | Castling not possible while king's exposed to attack

* Disable castling if king or rook has already moved or there is any piece between them

* Refactor ChessEngine

* Return all possible moves from one method

* Rename method

* Fix method name

* Refactor possibleMoves method

Co-authored-by: lamparina <anna.lamperska@gmail.com>
Z podziękowaniem dla @nowakprojects @lamparina @tomdworniczak @Szambelan  za ładne CodeReview poprzedniego taska

* Update | Change Stalemate and fix a small bug in test

* Update | Change type of Stalemate event

* Update | Delete imports

* Update | Delete kingPosition problem
* Create modal window for pawn promotion

* Selected figure to be promoted

* Proba skonczenia zadanka

* Rename modal's css classes

* Promotion modal and it's test

* Changes in modal event

* #76 modal window for pawn promotion - Model

* #76 make promotingOnSquare private again

* #76 remove dead code

* #76 CR fixes

Co-authored-by: Pawel Szambelan <p.szambelan1@gmail.com>
Co-authored-by: lamparina <59768305+lamparina@users.noreply.github.com>
Co-authored-by: lamparina <anna.lamperska@gmail.com>
* First part

* Add bg

* next part

* next part

* next part

* next part
* #70 Tests and draft solution

* #70 Refactor test case

* #70 Apply pawn attack in passing logic

* #70 Remove silly test case

* #70 Add return type to method

* #70 Add test case

* #70 delete unneeded if statement

* #70 refactor

* #70 merge develop

* Add en passant to possibleMoves

* Last fix

Co-authored-by: lamparina <anna.lamperska@gmail.com>
Co-authored-by: lamparina <59768305+lamparina@users.noreply.github.com>
Co-authored-by: lamparina <anna.lamperska@gmail.com>
Co-authored-by: lamparina <anna.lamperska@gmail.com>
* Update README.md

Update README file

* Update readme again

* Add live version link and sreenshoots of a game

Co-authored-by: lamparina <59768305+lamparina@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants