Created
June 17, 2014 00:29
-
-
Save alex-wilmer/db2a977ac66f517dc1a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section ng-controller="IndexController"> | |
<h1>Welcome {{global.currentUser().name}}</h1> | |
<h2>It's {{player}}'s turn</h2> | |
<div class="board"> GAME | |
<div ng-repeat="row in board"> | |
<div ng-repeat="cell in row" class="space {{cell.color}}" ng-click="move(cell, $parent.$index, $index)"> | |
<!--{{cell.color}} [{{$index}},{{$parent.$index}}]--> | |
<div class="grid">{{cell.id}}</div> | |
</div> | |
</div> | |
</div> | |
<div class="stats"> LIBERTIES | |
<div ng-repeat="row in board"> | |
<div ng-repeat="cell in row" class="space"> | |
<!--{{cell.color}} [{{$index}},{{$parent.$index}}]--> | |
<div class="grid">{{cell.liberties}}</div> | |
</div> | |
</div> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment