mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +03:00
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
:: :: ::
|
|
:::: /hoon/oct4/sur :::::: dependencies
|
|
:: :: ::
|
|
/? 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
|
|
== ::
|
|
--
|