dotsandboxes/arena.rkt

9 lines
288 B
Racket

#lang racket
; runs all the players against each other as both first and second player.
(require "main.rkt" "players.rkt")
(define all-players '(player-random player-first player-last))
(define matchups (append (combinations all-players 2) (map reverse (combinations all-players 2))))