@@ -93,7 +93,7 @@ let crow = new GameObject(corova, randCords, Y,60,36);
9393let __pult__ = new GameObject ( pult , pl . x , pl . y , 32 , 22 ) ;
9494let c = new GameObject ( car , pl . x , 160 , 40 , 60 ) ;
9595async function Game ( ) {
96- document . querySelector ( '#time' ) . innerHTML = `${ ziroMin } ${ minets } :${ ziroSec } ${ seconds } / 01:20 | ${ crushed } / 25`
96+ document . querySelector ( '#time' ) . innerHTML = `${ ziroMin } ${ minets } :${ ziroSec } ${ seconds } / 01:30 | ${ crushed } / 25`
9797 await ctx . clearRect ( 0 , 0 , cnv . width , cnv . height ) ;
9898 await ctx . drawImage ( backround , 0 , 0 , cnv . width , cnv . height ) ;
9999 await ctx . drawImage ( pl . src , plThreeCords [ place ] , pl . y , pl . width , pl . height ) ;
@@ -188,6 +188,7 @@ function Crush() {
188188 } , 2800 )
189189}
190190document . addEventListener ( 'click' , ( ) => {
191+ isScream = true
191192 isTick = true ;
192193 isTick == true ? tick . play ( ) : 0 ;
193194 isTick == true ? fermer . play ( ) : 0 ;
@@ -222,7 +223,7 @@ function corowDespawn () {
222223 randCords = threeCords [ place_Crow ] ;
223224 crow . x = randCords
224225 isCrush = true
225- } , 1500 )
226+ } , 1200 )
226227}
227228
228229const findDead = window . setInterval ( ( ) => {
@@ -269,7 +270,7 @@ function Dead() {
269270 mu . volume = 0 ;
270271 setTimeout ( ( ) => {
271272 scream . volume = 0 ;
272- } , 1200 )
273+ } , 1700 )
273274
274275 crush . volume = 0 ;
275276 brim . volume = 0 ;
@@ -280,7 +281,7 @@ function Dead() {
280281}
281282
282283const findWin = setInterval ( ( ) => {
283- if ( seconds >= 20 && minets = = 1 ) {
284+ if ( seconds >= 30 && minets > = 1 ) {
284285 if ( crushed >= 25 ) {
285286 Win ( ) ;
286287 } else {
0 commit comments