blendmaster / twogame

2x2 game visualization

Home Page:http://blendmaster.github.io/twogame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2-player game visualization

Based primarily off of Bryan Brun's Transforming 2x2 Games chart.

Design

displays: .display #d[1-n] classes: .utility # .u[cd]{2}[12] .player # .p[12] .outcome # o[cd]{2}

js global state, since a unique control <input> doesn't exist:

u = [[\ccp1 \ccp2] [\cdp1 \cdp2]
     [\dcp1 \dcp2] [\ddp1 \ddp2]]

The type of each display is controlled via <select>. The number of displays is controlled via <input type=range> since making the equivalent of a Backbone collection with Bacon.js is difficult.

About

2x2 game visualization

http://blendmaster.github.io/twogame


Languages

Language:JavaScript 95.0%Language:LiveScript 4.6%Language:CSS 0.4%