1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-20 21:31:32 +03:00
urbit/base/sur/oct2.hoon

20 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-05-28 21:28:31 +03:00
:: :: ::
2015-06-05 03:27:01 +03:00
:::: /hoon/oct2/sur :::::: dependencies
2015-05-28 21:28:31 +03:00
:: :: ::
2015-05-29 11:36:23 +03:00
/? 310 ::
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
== ::
--