16 lines
291 B
HTML
16 lines
291 B
HTML
@(player: DbPlayer)(implicit ctx: Context)
|
|
|
|
@ai(level: Int) = {
|
|
<div class="username connected">
|
|
@trans.aiNameLevelAiLevel("Crafty A.I.", level)
|
|
</div>
|
|
}
|
|
|
|
@human = {
|
|
<div class="username @player.color.name">
|
|
@playerLink(player, "blank_if_play")
|
|
</div>
|
|
}
|
|
|
|
@player.aiLevel.fold(ai, human)
|