HELLO.

@kisPocok

THIS IS ME

Schneidhoffer David
@kisPocok
david.schneidhoffer@gmail.com

NODE.js

Faster than light (V8 engine)
event driven
non blocking I/O
single thread
JavaScript

NPM

Node Package Modules

Update the code

$ npm update

EXPRESS

application framework
robust API
routing, session handling

SERVER

SOCKET.IO

for realtime apps
fast, cross-browser
two-way communication
server + client side

web socket, flash socket, html file (iframe),
xhr multipart, xhr polling, jsonp polling

SERVER

CLIENT

USAGE


JASMINE

Behavior-driven development (BDD)
framework for testing JS code
Does not require a DOM
It has a clean, obvious syntax

USAGE I.

USAGE II.

jade

Jade is designed primarily for
server side templating in node.js

SO?

Love Letter

Card Game

STAT

Rating: 7.5 / 10
Board Game Rank: #98
Family Game Rank: #10

BASIC RULES

2-4 player
~5 minutes gameplay / round
16 cards, 8 different

CARDS

  1. Guard (5) - guess
  2. Priest (2) - look
  3. Baron  (2) - compare
  4. Handmaid (2) - protection
  5. Prince (2) - discard
  6. King (1) - trade
  7. Countess (1) - play if 5-6
  8. Princess (1) - do not play

RULES


(homework)

T.HANKS


Workshop TIME, after the break

@kisPocok

TECH SOURCES


nodejs.org

GAME SOURCES



EPAM_Mifi1
pass: 35214

HELP


WIN:
npm startprod
VAGY
node server.js


keressetek rá: "TODO part II."

Love letter <3

By kispocok

Love letter <3

  • 979