mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 13:06:15 -04:00
Build 29074738
This commit is contained in:
parent
19ee1d0d33
commit
34f6aed001
11 changed files with 29 additions and 16 deletions
|
@ -95,7 +95,7 @@ function computerControl(gameState: GameState) {
|
|||
if (coinsCount) {
|
||||
targetX = coinsTotalX / coinsCount;
|
||||
} else {
|
||||
targetX = ball.x;
|
||||
targetX = gameState.canvasWidth / 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue