urbit/sur/oct2.hoon

20 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-05-28 21:28:31 +03:00
:: :: ::
2015-06-10 21:08:49 +03:00
:::: /hoon/oct2/sur :::::: dependencies
2015-05-28 21:28:31 +03:00
:: :: ::
2015-06-10 21:08:49 +03:00
/? 310 :: arvo version
2015-05-28 21:28:31 +03:00
:: :: ::
2015-05-29 11:36:23 +03:00
:::: :::::: semantics
:: :: ::
|% ::
2015-05-28 21:28:31 +03:00
++ 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
2015-05-29 11:36:23 +03:00
aud=(map ship ,@ud) :: who's watching
2015-05-28 21:28:31 +03:00
box=board :: X board
boo=board :: O board
== ::
--