Uploaded the base of the project the working demo of CH1 Multiplayer Game Development with HTML5
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= message
|
||||
h2= error.status
|
||||
pre #{error.stack}
|
||||
@@ -0,0 +1,20 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
.container
|
||||
.row
|
||||
.col-sm-3.col-sm-offset-3.scoreBoard
|
||||
h1
|
||||
span#p1Score
|
||||
.col-sm-3.scoreBoard
|
||||
h1.text-right
|
||||
span#p2Score
|
||||
.row
|
||||
.col-sm-6.col-sm-offset-3#gameBoard
|
||||
h1.text-center.colorDark Enter your name
|
||||
.panel.panel-danger
|
||||
.panel-body
|
||||
.input-group
|
||||
input#nickname.form-control.input-lg( autofocus )
|
||||
span.input-group-btn
|
||||
button#startBtn.btn.btn-lg.btn-danger PLAY!
|
||||
@@ -0,0 +1,13 @@
|
||||
doctype html
|
||||
html( lang="en" )
|
||||
head
|
||||
meta( charset='utf-8' )
|
||||
meta( http-equiv='X-UA-Compatible', content='IE=edge' )
|
||||
meta( name='viewport', content='width=device-width, initial-scale=1.0' )
|
||||
title= title
|
||||
link(rel='stylesheet', href='/css/bootstrap.min.css')
|
||||
link(rel='stylesheet', href='/css/style.css')
|
||||
body
|
||||
block content
|
||||
script(src='/js/Board.js')
|
||||
script(src='/js/app.js')
|
||||
Reference in New Issue
Block a user