Skip to content

Commit

Permalink
second mode att
Browse files Browse the repository at this point in the history
  • Loading branch information
ookamyabyss committed Oct 17, 2024
1 parent 1f56974 commit d1d4aee
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const EightLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 240, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const FiveLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 240, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const NineLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 180, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
2 changes: 0 additions & 2 deletions src/components/Pages/SecondModeLevels/OneLevel/OneLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ const OneLevel = () => {
// Definir outras ações, como navegação para próxima fase ou exibir mensagem de vitória
};

//-----------

const selecionarPalavrasAleatorias = () => {
const palavrasSelecionadas = [];

Expand Down
2 changes: 1 addition & 1 deletion src/components/Pages/SecondModeLevels/SixLevel/SixLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const SixLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 180, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const ThreeLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 180, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pages/SecondModeLevels/TwoLevel/TwoLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const TwoLevel = () => {
setHintIndex(0);

if (palavrasDigitadas.length + 1 === palavras.length) {
const earnedStars = calculateStars(timeRemaining, 300, hintsUsed); // Passando parâmetros corretos
const earnedStars = calculateStars(timeRemaining, 240, hintsUsed); // Passando parâmetros corretos
handleFinishLevel(earnedStars); // Salvando estrelas
setGameStatus('won');
}
Expand Down
10 changes: 5 additions & 5 deletions src/components/Utils/ChallengeTitle/ChallengeTitle.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
letter-spacing: 8px; /* Espaçamento entre letras */
color: #ffc000; /* Cor do texto */
text-shadow:
1px 1px 0 #000, /* Contorno preto fino no topo e esquerda */
1px -1px 0 #000, /* Contorno preto fino na parte inferior e direita */
1px -1px 0 #000, /* Contorno preto fino na diagonal superior direita */
-2px 2px 0 #000, /* Contorno preto fino na diagonal inferior esquerda */
2px 2px 4px rgba(0, 0, 0, 0.6); /* Sombra adicional para efeito de profundidade */
3px -3px 4px #000, /* Contorno preto fino no topo e esquerda */
3px -3px 4px #000, /* Contorno preto fino na parte inferior e direita */
3px -3px 4px #000, /* Contorno preto fino na diagonal superior direita */
3px -3px 4px #000, /* Contorno preto fino na diagonal inferior esquerda */
3px -3px 4px rgba(0, 0, 0, 0.6); /* Sombra adicional para efeito de profundidade */
text-transform: uppercase; /* Transforma o texto para maiúsculas */
margin: 0; /* Remove margens */
padding: 5px; /* Espaço interno ao redor do texto */
Expand Down

0 comments on commit d1d4aee

Please sign in to comment.