I hereby claim:
- I am cwmaguire on github.
- I am cwmaguire (https://keybase.io/cwmaguire) on keybase.
- I have a public key ASBIcEMR_RgpCX9Fw0skVtfcbicrlGMo9gkbU4n0AQUtGgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
-module(river_crossing). | |
-export([cross_river/1]). | |
-define(RIVER, $~). | |
-define(PREDATORS, [{"cg", "Grain"}, {"dc", "Chicken"}]). | |
cross_river(Simulation) -> | |
[Position | Moves] = position_and_moves(Simulation), | |
cross_river(Position, Moves). |
" Status Line Jiggery Pokery | |
" Use term=bold in teh user highlights for bold | |
hi User1 ctermbg=darkgrey ctermfg=blue guibg=darkgrey guifg=blue | |
hi User2 ctermbg=darkgrey ctermfg=black guibg=darkgrey guifg=black | |
hi User3 ctermbg=blue ctermfg=white guibg=blue guifg=white | |
hi User4 ctermbg=black ctermfg=yellow guibg=black guifg=orange | |
hi User5 ctermbg=black ctermfg=red guibg=black guifg=red gui=bold | |
set statusline= |
Option Explicit | |
Function GetCharNames(textToDescribe as String) As String | |
dim textDesc As String | |
dim charIdx As Long | |
for charIdx = 1 to len(textToDescribe) | |
textDesc = textDesc & GetCharDesc(Mid(textToDescribe,charIdx,1)) & " " | |
next |