diff --git a/src/app/game/games/climbhill/climbhill.component.ts b/src/app/game/games/climbhill/climbhill.component.ts index dd44cd1..bc0a0a8 100644 --- a/src/app/game/games/climbhill/climbhill.component.ts +++ b/src/app/game/games/climbhill/climbhill.component.ts @@ -12,9 +12,9 @@ import { CommonModule } from '@angular/common'; imports: [CanvasComponent, CommonModule], template: `
score: {{ game.state.score | number: '1.0-0' }}, distance: {{ game.state.distance | number: '1.0-0' }}, speed: {{ game.state.carXSpeed * 20 | number: '1.0-0' }}, fuel: {{ game.state.fuel | number: '1.0-0' }} + >, distance: {{ game.state.distance | number: '1.0-0' }}m, speed: + {{ game.state.carXSpeed * 12 | number: '1.0-0' }}km/h, fuel: + {{ game.state.fuel | number: '1.0-0' }}%
12000) { @@ -198,7 +198,7 @@ export class ClimbHillComponent } private updateScore(): void { - this.game.state.score = this.round(this.game.state.distance / 100); + this.game.state.score = this.round(this.game.state.distance / 10); } private lerp(start: number, end: number, alpha: number): number {