mirror of
https://github.com/urbit/shrub.git
synced 2025-01-05 19:46:50 +03:00
Good file.
This commit is contained in:
parent
496264b2e9
commit
b3b3827f28
20
base/sur/oct4/core.hook
Normal file
20
base/sur/oct4/core.hook
Normal file
@ -0,0 +1,20 @@
|
||||
:: :: ::
|
||||
:::: /hook/core/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
|
||||
== ::
|
||||
--
|
Loading…
Reference in New Issue
Block a user