mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
:: :: ::
|
|
:::: /hoon/oct3/sur :::::: dependencies
|
|
:: :: ::
|
|
/? 310 :: arvo version
|
|
:: :: ::
|
|
:::: :::::: 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
|
|
== ::
|
|
--
|