Uploaded the base of the project the working demo of CH1 Multiplayer Game Development with HTML5

This commit is contained in:
2021-06-01 11:12:45 +02:00
parent 8ff9857e43
commit 4f8071fffe
1258 changed files with 181409 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}
+20
View File
@@ -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!
+13
View File
@@ -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')