mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 12:22:10 +03:00
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
|
:: :: ::
|
||
|
:::: /hook/core/octo/sur :: :: dependencies
|
||
|
:: :: ::
|
||
|
/? 310
|
||
|
:: :: ::
|
||
|
:::: :: :: 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=(set ship) :: who's watching
|
||
|
box=board :: X board
|
||
|
boo=board :: O board
|
||
|
== ::
|
||
|
++ action (unit point) :: move or resign
|
||
|
--
|