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

Add tests #89

Merged
merged 32 commits into from
Nov 1, 2024
Merged

Add tests #89

merged 32 commits into from
Nov 1, 2024

Conversation

antoinegreuzard
Copy link
Owner

@antoinegreuzard antoinegreuzard commented Nov 1, 2024

Description

Décrivez les modifications effectuées dans cette PR (Pull Request). Quelles fonctionnalités ou corrections ont été ajoutées ?

Type de modification

Cochez les cases correspondantes :

  • Correction de bug
  • Nouvelle fonctionnalité
  • Mise à jour de documentation
  • Refactorisation de code
  • Autre (précisez) :

Tests

Décrivez les tests effectués pour valider les modifications. Incluez des instructions pour reproduire le problème et vérifier la résolution.

  • Tests unitaires
  • Tests manuels
  • Autres tests (précisez) :

Screenshots

Ajoutez des captures d'écran si les modifications visuelles.

Checklist

  • J'ai lu et suivi les consignes du guide de contribution.
  • Mon code respecte les normes de style.
  • Les tests existants et nouveaux passent avec succès.
  • La documentation a été mise à jour (si nécessaire).

Remarques supplémentaires

Ajoutez ici des informations ou des remarques supplémentaires concernant la PR.

antoinegreuzard and others added 30 commits October 31, 2024 20:21
* feat: add saving game

* refactor

* fix

* fix: some bug

* feat: better ai

* fix: tests en passant

* fix: isValidMove returns true for en passant capture

* fix: isValidMove returns true for en passant capture

* fix: add true

* Create CODE_OF_CONDUCT.md

Signed-off-by: Antoine Greuzard <[email protected]>

* Update issue templates

* refactor ai

* refactor board

* refactor piece

* refactor pieces

* refactor utils

* refactor canvas

* refactor timer

* fix: drag impossible on ai pieces

* fix: remove save game

---------

Signed-off-by: Antoine Greuzard <[email protected]>
Co-authored-by: Antoine GREUZARD <[email protected]>
Signed-off-by: Antoine Greuzard <[email protected]>
Signed-off-by: Antoine Greuzard <[email protected]>
Signed-off-by: Antoine Greuzard <[email protected]>
Signed-off-by: Antoine Greuzard <[email protected]>
@antoinegreuzard antoinegreuzard marked this pull request as ready for review November 1, 2024 14:34
@antoinegreuzard antoinegreuzard self-assigned this Nov 1, 2024
@antoinegreuzard antoinegreuzard added the enhancement New feature or request label Nov 1, 2024
@antoinegreuzard antoinegreuzard enabled auto-merge (squash) November 1, 2024 14:35
@antoinegreuzard antoinegreuzard merged commit bdcf144 into main Nov 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant