resize images for index page

This commit is contained in:
Zutatensuppe 2021-04-21 09:54:10 +02:00
parent 554ffcccbc
commit b6fd0b50ab
7 changed files with 635 additions and 26 deletions

View file

@ -154,6 +154,10 @@ function getImageUrl(gameId) {
return GAMES[gameId].puzzle.info.imageUrl
}
function setImageUrl(gameId, imageUrl) {
GAMES[gameId].puzzle.info.imageUrl = imageUrl
}
function isFinished(gameId) {
return getFinishedTileCount(gameId) === getTileCount(gameId)
}
@ -721,6 +725,7 @@ export default {
getFinishedTileCount,
getTileCount,
getImageUrl,
setImageUrl,
get,
getAllGames,
getPlayerBgColor,