Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElyaConrad/Monopoly
/ functions
Functions
364 in github.com/ElyaConrad/Monopoly
⨍
Functions
364
◇
Types & classes
106
↓ 123 callers
Function
centerLine
(line, width)
helper.js:104
↓ 123 callers
Function
centerLine
(line, width)
web/js/cli-browser.js:3563
↓ 12 callers
Method
set
(val)
web/js/cli-browser.js:1513
↓ 10 callers
Method
getRent
(level)
web/js/cli-browser.js:4300
↓ 10 callers
Method
getRent
(level)
web/js/monopoly.js:917
↓ 10 callers
Function
isFunction
* Returns true if the input value is a function * @param {*} - the input to test * @returns {boolean} * @static
web/js/cli-browser.js:2547
↓ 9 callers
Function
arrayify
* Takes any input and guarantees an array back. * * - converts array-like objects (e.g. `arguments`) to a real array * - converts `undefined` to an
web/js/cli-browser.js:797
↓ 9 callers
Function
halt
(name, message)
web/js/cli-browser.js:1452
↓ 9 callers
Function
isFunction
(arg)
web/js/monopoly.js:1264
↓ 8 callers
Method
add
(interaction)
cli/Interactions.js:35
↓ 8 callers
Method
add
(interaction)
web/js/cli-browser.js:113
↓ 8 callers
Method
from
(argv)
web/js/cli-browser.js:684
↓ 8 callers
Method
insert
(x, y, str)
cli/render/StringMatrix.js:20
↓ 8 callers
Method
insert
(x, y, str)
web/js/cli-browser.js:2682
↓ 7 callers
Method
get
()
web/js/cli-browser.js:1509
↓ 6 callers
Function
isObject
* returns true if the typeof input is `'object'`, but not null! * @param {*} - the input to test * @returns {boolean} * @static
web/js/cli-browser.js:2507
↓ 5 callers
Method
appendProperties
(interactionProto)
cli/Interactions.js:59
↓ 5 callers
Method
appendProperties
(interactionProto)
web/js/cli-browser.js:137
↓ 5 callers
Method
isBoolean
()
web/js/cli-browser.js:1289
↓ 5 callers
Method
isMultiple
()
web/js/cli-browser.js:1292
↓ 5 callers
Function
isObject
(arg)
web/js/monopoly.js:1272
↓ 4 callers
Method
create
(definition)
web/js/cli-browser.js:1565
↓ 4 callers
Function
toString
* Converts `value` to a string. An empty string is returned for `null` * and `undefined` values. The sign of `-0` is preserved. * * @static * @mem
web/js/cli-browser.js:2206
↓ 3 callers
Function
drawField
(i)
cli/render/text.js:475
↓ 3 callers
Function
drawField
(i)
web/js/cli-browser.js:3177
↓ 3 callers
Function
hasDuplicates
(array)
web/js/cli-browser.js:1462
↓ 3 callers
Method
move
(steps = 0)
Team.js:7
↓ 3 callers
Method
move
(steps = 0)
web/js/cli-browser.js:8
↓ 3 callers
Method
ownOfCollection
(owner)
monopoly-board/fields/Field.js:19
↓ 3 callers
Method
ownOfCollection
(owner)
web/js/cli-browser.js:4115
↓ 3 callers
Method
ownOfCollection
(owner)
web/js/monopoly.js:732
↓ 3 callers
Method
removeByProperty
(propertyName, value, multiple = false)
cli/Interactions.js:47
↓ 3 callers
Method
removeByProperty
(propertyName, value, multiple = false)
web/js/cli-browser.js:125
↓ 3 callers
Method
toObject
(options)
web/js/cli-browser.js:1643
↓ 2 callers
Method
clear
* Clear the array.
web/js/cli-browser.js:643
↓ 2 callers
Function
commandLineArgs
* Returns an object containing all option values set on the command line. By default it parses the global [`process.argv`](https://nodejs.org/api/pro
web/js/cli-browser.js:845
↓ 2 callers
Function
drawCards
(options)
cli/render/text.js:454
↓ 2 callers
Function
drawCards
(options)
web/js/cli-browser.js:3156
↓ 2 callers
Method
enter
(team)
web/js/monopoly.js:960
↓ 2 callers
Function
findReplace
* @param {array} - the input array * @param {valueTest} - a [test-value](https://github.com/75lb/test-value) query to match the value you're looking
web/js/cli-browser.js:1694
↓ 2 callers
Function
getLastEmptyIndex
(array, lastAlternativeIndex = 0)
cli/render/text.js:547
↓ 2 callers
Function
getLastEmptyIndex
(array, lastAlternativeIndex = 0)
web/js/cli-browser.js:3249
↓ 2 callers
Function
handleMovement
(movement, interactionText, ignoreNext = false)
cli/cli.js:287
↓ 2 callers
Function
handleMovement
(movement, interactionText, ignoreNext = false)
web/js/cli-browser.js:432
↓ 2 callers
Method
hasCombinedShortOptions
* Returns true if the array contains combined short options (e.g. `-ab`). * @returns {boolean}
web/js/cli-browser.js:680
↓ 2 callers
Function
hasUnicode
* Checks if `string` contains Unicode symbols. * * @private * @param {string} string The string to inspect. * @returns {boolean} Returns `true` if
web/js/cli-browser.js:1963
↓ 2 callers
Function
isDefined
* Returns true if the input value is defined * @param {*} - the input to test * @returns {boolean} * @static
web/js/cli-browser.js:2517
↓ 2 callers
Function
isOptionEqualsNotation
* Returns true if the supplied arg matches `--option=value` notation. * @param {string} - the arg to test, e.g. `--one=something` * @returns {boolea
web/js/cli-browser.js:709
↓ 2 callers
Function
isUndefined
(arg)
web/js/cli-browser.js:4659
↓ 2 callers
Function
isUndefined
(arg)
web/js/monopoly.js:1276
↓ 2 callers
Method
load
* Clears the array has loads the supplied input. * @param {string[]} argv - The argv list to load. Defaults to `process.argv`.
web/js/cli-browser.js:627
↓ 2 callers
Function
move
()
cli/cli.js:240
↓ 2 callers
Function
move
()
web/js/cli-browser.js:385
↓ 2 callers
Method
move
(steps = 0)
web/js/monopoly.js:8
↓ 2 callers
Function
objFillDefaults
(baseObj, template, arrayAsObj = false)
helper.js:4
↓ 2 callers
Function
objFillDefaults
(obj, template)
web/js/cli-browser.js:3464
↓ 2 callers
Function
objFillDefaults
(obj, template)
web/js/monopoly.js:81
↓ 2 callers
Method
payTax
(amount)
Team.js:53
↓ 2 callers
Method
payTax
(amount)
web/js/cli-browser.js:54
↓ 2 callers
Method
remove
(...interactionsRemove)
cli/Interactions.js:44
↓ 2 callers
Method
remove
(...interactionsRemove)
web/js/cli-browser.js:122
↓ 2 callers
Function
runTimeout
(fun)
web/js/cli-browser.js:4701
↓ 2 callers
Function
testValue
* @alias module:test-value * @param {any} - a value to test * @param {any} - the test query * @param [options] {object} * @param [options.strict]
web/js/cli-browser.js:2348
↓ 2 callers
Function
wrapWords
(str, maxLength)
helper.js:44
↓ 2 callers
Function
wrapWords
(str, maxLength)
web/js/cli-browser.js:3503
↓ 1 callers
Method
_set
(val, state)
web/js/cli-browser.js:1517
↓ 1 callers
Method
action
(actionRecord, team)
main.js:37
↓ 1 callers
Method
action
(actionRecord, team)
web/js/cli-browser.js:3637
↓ 1 callers
Function
arrayReduce
* A specialized version of `_.reduce` for arrays without support for * iteratee shorthands. * * @private * @param {Array} [array] The array to ite
web/js/cli-browser.js:1898
↓ 1 callers
Function
asciiToArray
* Converts an ASCII `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted ar
web/js/cli-browser.js:1918
↓ 1 callers
Function
asciiWords
* Splits an ASCII `string` into an array of its words. * * @private * @param {string} The string to inspect. * @returns {Array} Returns the words
web/js/cli-browser.js:1929
↓ 1 callers
Function
basePropertyOf
* The base implementation of `_.propertyOf` without support for deep paths. * * @private * @param {Object} object The object to query. * @returns
web/js/cli-browser.js:1940
↓ 1 callers
Function
baseSlice
* The base implementation of `_.slice` without an iteratee call guard. * * @private * @param {Array} array The array to slice. * @param {number} [
web/js/cli-browser.js:2039
↓ 1 callers
Function
baseToString
* The base implementation of `_.toString` which doesn't convert nullish * values to empty strings. * * @private * @param {*} value The value to pr
web/js/cli-browser.js:2068
↓ 1 callers
Method
buy
(field, rules = true)
Team.js:37
↓ 1 callers
Method
buy
(field, rules = true)
web/js/cli-browser.js:38
↓ 1 callers
Function
capitalize
* Converts the first character of `string` to upper case and the remaining * to lower case. * * @static * @memberOf _ * @since 3.0.0 * @category
web/js/cli-browser.js:2250
↓ 1 callers
Function
castSlice
* Casts `array` to a slice if it's needed. * * @private * @param {Array} array The array to inspect. * @param {number} start The start position.
web/js/cli-browser.js:2089
↓ 1 callers
Function
containsValidGroup
(def)
web/js/cli-browser.js:1458
↓ 1 callers
Function
createCaseFirst
* Creates a function like `_.lowerFirst`. * * @private * @param {string} methodName The name of the `String` case method to use. * @returns {Funct
web/js/cli-browser.js:2102
↓ 1 callers
Function
createCompounder
* Creates a function like `_.camelCase`. * * @private * @param {Function} callback The function to combine each word. * @returns {Function} Return
web/js/cli-browser.js:2129
↓ 1 callers
Function
deburr
* Deburrs `string` by converting * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) * and [Lat
web/js/cli-browser.js:2272
↓ 1 callers
Function
drainQueue
()
web/js/cli-browser.js:4773
↓ 1 callers
Function
drawBg
()
cli/render/text.js:160
↓ 1 callers
Function
drawBg
()
web/js/cli-browser.js:2862
↓ 1 callers
Function
drawInteractionsList
(interactions)
cli/render/text.js:450
↓ 1 callers
Function
drawInteractionsList
(interactions)
web/js/cli-browser.js:3152
↓ 1 callers
Function
drawSelectedField
()
cli/render/text.js:181
↓ 1 callers
Function
drawSelectedField
()
web/js/cli-browser.js:2883
↓ 1 callers
Function
drawTeam
(team, index)
cli/render/text.js:125
↓ 1 callers
Function
drawTeam
(team, index)
web/js/cli-browser.js:2827
↓ 1 callers
Method
earnSalary
()
Team.js:57
↓ 1 callers
Method
earnSalary
()
web/js/cli-browser.js:58
↓ 1 callers
Method
earnSalary
()
web/js/monopoly.js:58
↓ 1 callers
Method
enter
(team)
web/js/cli-browser.js:4343
↓ 1 callers
Function
getBorderingSides
(index, side)
cli/render/text.js:579
↓ 1 callers
Function
getBorderingSides
(index, side)
web/js/cli-browser.js:3281
↓ 1 callers
Method
getDefault
()
web/js/cli-browser.js:1425
↓ 1 callers
Function
getField
(index, sides)
cli/render/text.js:608
↓ 1 callers
Function
getField
(index, sides)
web/js/cli-browser.js:3310
next →
1–100 of 364, ranked by callers