mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 20:04:09 +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
|
|
== ::
|
|
--
|