Skip to content

Commit

Permalink
Game board now displayed on game start.
Browse files Browse the repository at this point in the history
Closes #25.
  • Loading branch information
candera committed Apr 6, 2011
1 parent ba21b80 commit 60b9e3b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions resources/public/styles/game.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,22 @@
#playing-ui, #setup-ui
{
display: none;
}

#ma-board
{
background-image: url('/images/ma-board.png');
background-repeat: no-repeat;
width: 800px;
height: 510px;
border: solid 2px black;
}

#academy-board
{
background-image: url('/images/academy-board.png');
background-repeat: no-repeat;
width: 800px;
height: 1010px;
border: solid 2px black;
}
3 changes: 2 additions & 1 deletion src/artifact/ui.clj
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ game."
[:tr [:th "Player"] [:th "State"]] ""]]
[:div {:id "playing-ui"}
"The UI for actually playing the game will appear here."
[:img {:src "/images/logo.jpg"} ""]]
[:div {:id "ma-board"} ""]
[:div {:id "academy-board"} ""]]
[:textarea {:id "gameState" :readonly "readonly" :rows 20}
"diagnostic information is displayed here"]]])))))

Expand Down

0 comments on commit 60b9e3b

Please sign in to comment.