sdr 0.7

Package net.cscott.sdr

This package contains the main game class (App) and a text UI (PMSD), as well as interface definitions needed to tie the various pieces together.

See:
          Description

Interface Summary
BeatTimer BeatTimer is a simple interface that allows a caller to obtain the current time, in units of "beats".
 

Class Summary
App This is the main class of the SDR application.
ChoreoEngine ChoreoEngine specifies the interface through which the choreography engine communicates with the rest of the SDR application.
CommandInput CommandInput implements the communication between some mechanism for inputting commands (voice recognition, keyboard input, file on disk, etc) and the rest of the SDR system.
CommandInput.InputMode Representation of different input modes.
CommandInput.PossibleCommand A CommandInput.PossibleCommand is an Apply corresponding to the most likely interpretation of the user's input.
DanceFloor The DanceFloor path contains the current computed locations for all dancers; it is synchronized so that it can be asynchronously queried and updated from various threads.
DevSettings This class defines some simple constants to allow us to turn off or enable certain features during development.
HUD The HUD class encapsulates all the values displayed by the game's "heads up display".
Mode The Mode.GameMode object coordinates mode changes among different threads (and mode-change sources).
PMSD Poor Man's SD is a very simple text-based front-end for debugging and testing.
PMSD.State Class holding properties accessible from the PMSD front-end.
ScoreAccumulator This interface is the means of communication between the choreography engine and the game score mechanism.
Settings The Settings class manages the menu system for adjusting the various game settings, and tracks the current mode of play.
Version The Version object contains fields naming the current version of the SDR application (0.7).
 

Enum Summary
HUD.MessageType What type of message this is.
Mode.GameMode  
Settings.DanceLevelSetting What calls should be accepted for the dancers, and what their starting formation should be.
Settings.DancerStyleSetting Style with which to draw dancers.
Settings.DifficultySetting How stringent should scoring be?
Settings.MusicSetting What type of music (if any) to play.
Settings.VenueSetting Background environment for dancers.
 

Package net.cscott.sdr Description

This package contains the main game class (App) and a text UI (PMSD), as well as interface definitions needed to tie the various pieces together.

Tests:
Run all PMSD <a href="doc-files/">test cases</a>: (fail-first development: note which cases are currently failing)
js> PMSD.runAllTests()
FAILED TESTS:
 acey-deucey-1 at line 79
 acey-deucey-2 at line 90
 acey-deucey-3 at line 15
 acey-deucey-5 at line 117
 and-cross at line 54
 breathing-2 at line 26
 breathing-3 at line 14
 c4-calls-1 at line 38
 c4-calls-2 at line 43
 cast-1 at line 69
 cross-back at line 51
 cross-concentric-1 at line 43
 cross-fold-1 at line 20
 dopaso-1 at line 39
 hinge-1 at line 36
 parse-2 at line 7
 pass-to-the-center-2 at line 8
 pass-to-the-center-3 at line 26
 peel-the-top-1 at line 32
 right-roll-to-a-wave at line 46
 siamese-1 at line 30
 square-chain-the-top at line 18
 sweep-3 at line 23
 swing-slip-slide-slither at line 54
 trade-2 at line 13
 trade-by at line 43

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian