urbit/sur/oct2.hoon
2015-06-19 17:16:48 -04:00

20 lines
1.2 KiB
Plaintext

:: :: ::
:::: /hoon/oct2/sur :::::: dependencies
:: :: ::
/? 310 :: arvo version
:: :: ::
:::: :::::: semantics
:: :: ::
|% ::
++ board ,@ :: one-player bitfield
++ point ,[x=@ y=@] :: coordinate
++ stage (pair (unit ship) (unit ship)) :: players
++ game :: game state
$: who=? :: whose turn
sag=stage :: who's playing
aud=(map ship ,@ud) :: who's watching
box=board :: X board
boo=board :: O board
== ::
--