Repository navigation
Truco: se ve qué carta ganó cada baza - #13
Merged
Merged
Conversation
El motor resolvía bien las bazas (38.864 bazas al azar contra un cálculo independiente, sin errores), pero la mesa no mostraba cuál ganó cada una y con las cartas encimadas se comparaban cartas de bazas distintas. - view: bazaTop, los asientos con la carta más alta de cada baza terminada - Mesa: la carta ganadora brilla y las que perdieron se apagan - Test: el 7 de oro le gana al 4 de oro - Celu: cartas del compañero más chicas, pilas más cerca del centro y globos por encima Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reporte: "un 4 de oro le ganó a un 7 de oro".
El motor resuelve bien: probé 38.864 bazas al azar contra un cálculo independiente y no hubo ningún error. Además sumé un test con ese caso exacto. Lo que fallaba era la mesa: no mostraba qué carta ganó cada baza, y con las cartas encimadas era fácil comparar cartas de bazas distintas.
viewsumabazaTop: por cada baza terminada, los asientos que tiraron la carta más alta.Pruebas: 21 tests del motor,
test:trucodel server y una partida 2v2 en el navegador, en escritorio y celular.🤖 Generated with Claude Code