mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 04:26:14 -04:00
Test fixes
This commit is contained in:
parent
adfd3ecf83
commit
8d7d97608d
4 changed files with 2 additions and 10 deletions
|
@ -192,7 +192,4 @@ export function countBricksBelow(gameState: GameState, index: number) {
|
|||
|
||||
export function comboKeepingRate(level:number){
|
||||
return clamp(1-1/(1+level)*1.5,0,1)
|
||||
}
|
||||
for(let i = 0;i<5;i++){
|
||||
console.log(Math.round(comboKeepingRate(i)*100)+'%')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue