Game On!
Game On.
Now to create the game page. I'll sketch it out on paper first, see where I want to lay things out. Hmm... the page is basically broken into three parts - one specific to the character (and the actions available), one section shows the current obstacle (usually a creature), and the third section underneath shows the results of the last action.
I have most of the left side implemented, but not Obstacles or Rooms yet. It's reasonable to suggest that I might be better server implementing those before worrying about the presentation layer. However, I feel like tinkering with UI, so here I go.
DisplayCharaterStats
I'm having a little difficulty with this function, so I'm going to create a test for it. There that's better.
UI stuff
Sorry, not a lot of code today, mostly just struggling with CSS and various other trivial tasks. Not very interesting to read about, I'm afraid.
Now to create the game page. I'll sketch it out on paper first, see where I want to lay things out. Hmm... the page is basically broken into three parts - one specific to the character (and the actions available), one section shows the current obstacle (usually a creature), and the third section underneath shows the results of the last action.
I have most of the left side implemented, but not Obstacles or Rooms yet. It's reasonable to suggest that I might be better server implementing those before worrying about the presentation layer. However, I feel like tinkering with UI, so here I go.
DisplayCharaterStats
I'm having a little difficulty with this function, so I'm going to create a test for it. There that's better.
UI stuff
Sorry, not a lot of code today, mostly just struggling with CSS and various other trivial tasks. Not very interesting to read about, I'm afraid.
0 Comments:
Post a Comment
<< Home