Data update

This commit is contained in:
Ingy döt Net 2025-02-27 18:35:13 -05:00
parent 8e4e15fa56
commit 72eb4943cb
1853 changed files with 35514 additions and 9441 deletions

View file

@ -5,4 +5,4 @@ move=. pos ($:@][echo@'no')`(-@turn@], turn@]`[`(board@])})@.open ]
outcome=. 'tie'"_`(' wins',~ {&'.XO'@-@turn)@.won
show=. [ ''echo@, '',~ (,' '&,)/"1@({&'.XO')@(3 3$board)
won=. [: +./ 3 = [: | +/"1@(],|:,(<@0 1|:]),:<@0 1|:|.)@(3 3$board)
ttt=: [: outcome [: [F.(show@move[_2:Z:won+.full) 10&{.@_1
ttt=: [: outcome [: show@move^:(won-.@+.full)^:_. (10&{.@_1)

View file

@ -1 +1 @@
Until=. {{[F.(u[_2:Z:v)}} NB. apply u until condition v is true
Until=. {{u^:(-.@v)^:_.}} NB. apply u until condition v is true

View file

@ -1 +0,0 @@
{{u^:(-.@:v)^:_}}