~/workshop

Workshop - Test Drive a Browser Game With JavaScript

Workshopat RailsConf 2014 · 2014-04-22..04-25· [javascript, angular]
slides:none on file

Hands-on workshop builds a simplified Battleship browser game using Angular with Lineman and Rails for the environment and Jasmine for specs. The group wires up ng-repeat/ng-click/ng-model to render a grid and accept shots, then extracts a Game class extracted from controller code and gets Jasmine tests passing against game.status and fire logic. The session mixes live coding, pair work, and demoed a working prototype; tests and modular code are the real deliverables, not a framework sermon.

AI-written summary · about

  1. 0:00Start
  2. 3:11Why Javascript
  3. 3:31Styles of Javascript
  4. 17:21Declare the Angular Module
  5. 19:39Controller
  6. 23:03Ng Repeat Attribute
  7. 23:33Column Headers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.