Skip to content

V 1.0 Original Narcotic Definition (INHAB File)

George Heineman edited this page Feb 7, 2018 · 1 revision

The INHAB file contains the semantic type information for the associated combinators from the SCS file.

kinds

// So far the only variable within type hierarchy for L2.
// Not sure how to develop concepts here...

gameType ~> freeCell, narcotic, fourteenout, klondike

combinatorsD

Fields : #[narcotic, pilerule] ->
#[narcotic, fields]


PileToPileCondition : #[narcotic, pile_to_pile_condition]


InitializationNarcotic : #[narcotic, pilerule] ->
#[narcotic, initializationsteps]


Game : #[alpha.gameType, namerule] ->
#[alpha.gameType, methods] ->
#[alpha.gameType, fields] ->
#[alpha.gameType, winrule] ->
#[alpha.gameType, initializationsteps] ->
#[alpha.gameType, game]


PileMouseReleased : #[narcotic, pileReleased]


Moves : [#[narcotic, deck_to_pile_move] ->
#[narcotic, moves, dealCards],
#[narcotic, pile_to_pile_move] ->
#[narcotic, moves, moveCards],
#[narcotic, deck_reset_move] ->
#[narcotic, moves, resetDeck],
#[narcotic, pile_remove_cards_move] ->
#[narcotic, moves, removeCards]]



PileMouseClicked : #[namerule, narcotic] ->
#[narcotic, pileClicked]


PileController : #[alpha.gameType, namerule] ->
#[alpha.gameType, pileControllerName] ->
#[alpha.gameType, pilePressed] ->
#[alpha.gameType, pileClicked] ->
#[alpha.gameType, pileReleased] ->
#[alpha.gameType, pileController]


PileRule : #[narcotic, pilerule]


MoveRemoveCards : #[narcotic, namerule] ->
#[narcotic, pilerule] ->
#[narcotic, pile_remove_cards_move]


DeckToStacks : #[narcotic, deck_to_stacks]


Methods : #[narcotic, methods]


NameRule : #[narcotic, namerule]


PileMousePressed : #[namerule, narcotic] ->
#[narcotic, pilePressed]


AllControllers : [#[narcotic, pileController] ->
#[narcotic, allControllers],
#[narcotic, deckController] ->
#[narcotic, allControllers]]



DeckResetPressed : #[narcotic, namerule] ->
#[narcotic, deckReset]


AutoMove : #[alpha.gameType, autoMove]


Full : #[narcotic, moves] ->
#[narcotic, allControllers] ->
#[narcotic, game] ->
#[narcotic, full]


DeckMousePressed : #[narcotic, namerule] ->
#[narcotic, deckReset] ->
#[narcotic, deckPressed]


PileMove : #[alpha.gameType, namerule] ->
#[alpha.gameType, pile_to_pile_condition] ->
#[alpha.gameType, pile_to_pile_move]


WinRule : #[alpha.gameType, winrule]


BaseTestCase : #[freeCell, namerule] ->
#[freeCell, testcases, basecase]


DeckController : #[alpha.gameType, namerule] ->
#[alpha.gameType, deckPressed] ->
#[alpha.gameType, deckController]


AutoMoveAvailable : #[alpha.gameType, autoMoveAvailable]


PileDesignate : #[alpha.gameType, pileControllerName]


RemoveCards : #[narcotic, remove_cards_from_pile]


DeckMove : #[alpha.gameType, namerule] ->
#[alpha.gameType, deck_to_pile_move]


PileToPile : #[narcotic, pile_to_pile]


ResetDeckMove : #[alpha.gameType, namerule] ->
#[alpha.gameType, deck_reset_move]

Inhabitation request

|- ? : #[narcotic, full]