shrub/base/sur/oct4.hoon

21 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-06-04 00:19:53 +03:00
:: :: ::
2015-06-05 03:27:01 +03:00
:::: /hoon/oct4/sur :::::: dependencies
2015-06-04 00:19:53 +03:00
:: :: ::
/? 310 ::
:: :: ::
:::: :::::: semantics
:: :: ::
|% ::
++ board ,@ :: one-player bitfield
++ point ,[x=@ y=@] :: coordinate
++ stage (pair (unit ship) (unit ship)) :: players
++ play (each game tape) :: update
++ 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
== ::
--