mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-15 02:48:06 +03:00
Yo, didn't add.
This commit is contained in:
parent
82da3d3adb
commit
cd5026cce5
19
base/sur/octo/core.hook
Normal file
19
base/sur/octo/core.hook
Normal file
@ -0,0 +1,19 @@
|
||||
:: :: ::
|
||||
:::: /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
|
||||
--
|
Loading…
Reference in New Issue
Block a user