Documentos de Académico
Documentos de Profesional
Documentos de Cultura
ALANOCA ILLANESWILDER 0
BALMACEDA SEMPANDRES 7 3 3
CALAMANI MAMANRODOLFO 23 3 6 10 19
CALDERON ALANEGUSTAVO 25 7 5 12
Callizaya Magdalena 0
FORONDA SALCEDALEJANDRA 0
GRANEROS ACARAP
GIOVANI GAEL 8 3 3
HUANCA ANA 17 7 4 11
Huanca Adriana 0
HUANCA PAUCARAJHESSICA 0
HUAYHUA QUISPE RONALD 0
MAMANI CONDORICARLOS 0
MENDOZA ADUVIRILORENA 25 7 4 11
MENDOZA ILLANESCRISTIAN 0
Oviedo Aron 0
RODRIGUEZ ESCARBRANDON 0
ROSALES ARGANAWILDER 0
ROSALES ESTEVEZALVARO 2 0
Rosso Luis G. 0
Saavedra Deking 0
SOLANO GUTIERRERICHARD 0
tz ARIEL 0
URCV Nicolas 0
7
5
0
0
0
0
0
6
0
6
0
0
0
0
0
0
0
0
0
6
0
0
6
0
0
2
0
0
0
6
2
0
0
1
4
0
6
6
0
1
5
3
0
1
0
0
0
0
0
0
0
0
0
0
2
0
0
4
0
0
0
0
3
0
0
0
0
0
0
0
0
4
0
6
0
0
0
0
0
6
0
5
2
0
0
0
0
8
0
8
0
0
0
0
4
0
8
0
0
4
0
0
4
0
8
0
0
6
0
0
0
8
0
0
6
6
0
8
0
0
0
5
0
7
0
5
5
0
4
0
3
0
0
6
0
0
0
9
6
0
0
5
0
0
0
0
0
0
0
0
9
0
0
5
8
0
0
0
0
0
0
3
9
0
6
0
9
0
4
4
0
3
DE JAVASCRIPT POR TELEGRAM
NIEL COLQUE REVISAR
const squares = document.querySelectorAll('.square')
const mole = document.querySelector('.mole')
const timeLeft = document.querySelector('#time-left')
const score = document.querySelector('#score')
let result = 0
let hitPosition
let currentTime = 60
let timerId = null
/*CUADRADO ALEATORIO*/
function randomSquare() {
squares.forEach(square => {
square.classList.remove('mole')
})
hitPosition = randomSquare.id
}
squares.forEach(square => {
square.addEventListener('mousedown', () => {
if (square.id == hitPosition) {
result++
score.textContent = result
hitPosition = null
}
})
})
/*EL RITMO DE MOVIMIENTO DE LA IMAGEN*/
function moveMole() {
timerId = setInterval(randomSquare, 800)
}
moveMole()
if (currentTime == 0) {
clearInterval(countDownTimerId)
clearInterval(timerId)
alert('¡JUEGO TERMINADO! Tu puntuación final es ' + result)
}
}
/*ID del temporizador de cuenta regresiva*/
let countDownTimerId = setInterval(countDown, 1000)
const tierra = document.querySelectorAll('.tierra')
const tiempo = document.querySelector('#tiempo')
const score = document.querySelector('#score')
let result = 0
let hitPosition
let currentTime = 60
let timerId = null
function randomPoso(){
tierra.forEach(
poso => {
poso.classList.remove('topo')
}
)
hitPosition = randomPoso.id
}
tierra.forEach(
poso => {
poso.addEventListener('mousedown', () => {
if (poso.id == hitPosition) {
result++
score.textContent = result
hitPosition = null
}
})
}
)
function moveTopo() {
timerId = setInterval(randomPoso, 500)
}
moveTopo()
function countDown() {
currentTime--
tiempo.textContent = currentTime
if (currentTime == 0) {
clearInterval(countDownTimerId)
clearInterval(timerId)
alert('El juego a acabado, tu puntaje es: ' + result)
}