feat: Add database configuration and update routing for game creation

This commit is contained in:
2026-01-20 09:11:49 +01:00
parent af88f5c559
commit 709a833b4b
98 changed files with 41 additions and 4101 deletions

View File

@@ -8,9 +8,6 @@ import play.twirl.api.Html
import scalafx.scene.image.Image
object WebUIUtils {
def cardtoImage(card: Card): Html = {
views.html.render.card.apply(cardToPath(card))(card.toString)
}
def cardToPath(card: Card): String = {
f"images/cards/${cardtoString(card)}.png"