diff --git a/src/main/resources/static/css/game.css b/src/main/resources/static/css/game.css index a548af7..d3f6e71 100644 --- a/src/main/resources/static/css/game.css +++ b/src/main/resources/static/css/game.css @@ -223,6 +223,14 @@ body { float: right; height: 100%; } +.player > img { + width: 50px; + height: 50px; + border-radius: 50%; + border-width: 4px; + border-color: red; + border-style: solid; +} .player { margin-top: 10px; background-color: #15191a; diff --git a/src/main/resources/static/javascript/game.js b/src/main/resources/static/javascript/game.js index 7fd9b63..5f6ab66 100644 --- a/src/main/resources/static/javascript/game.js +++ b/src/main/resources/static/javascript/game.js @@ -58,6 +58,34 @@ const top_offset = 18; const board = new Board(); +const player_html_text = ` +
%(displayName)s
+ +'+player.displayName+'
'+player.money+'