moved run to xrun file
This commit is contained in:
parent
5de5eaaa14
commit
29de8558c9
|
@ -1,5 +1,7 @@
|
||||||
#lang scheme
|
#lang scheme
|
||||||
|
|
||||||
|
(provide run)
|
||||||
|
|
||||||
(require 2htdp/universe htdp/testing)
|
(require 2htdp/universe htdp/testing)
|
||||||
|
|
||||||
;; rotate through a bunch of players with the ball until nobody is left
|
;; rotate through a bunch of players with the ball until nobody is left
|
||||||
|
@ -84,4 +86,4 @@
|
||||||
(on-msg switch)
|
(on-msg switch)
|
||||||
(on-disconnect disconnect)))
|
(on-disconnect disconnect)))
|
||||||
|
|
||||||
(run 'go)
|
; (run 'go)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
exec mred -qu "$0" ${1+"$@"}
|
exec mred -qu "$0" ${1+"$@"}
|
||||||
|#
|
|#
|
||||||
|
|
||||||
#lang scheme
|
#lang racket
|
||||||
|
|
||||||
(require "shared.ss")
|
(require "shared.ss")
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
mred balls.ss &
|
#! /bin/sh
|
||||||
./player carl &
|
#|
|
||||||
./player sam &
|
exec racket -tm "$0" ${1+"$@"}
|
||||||
|
|#
|
||||||
|
|
||||||
|
#lang racket
|
||||||
|
|
||||||
|
(require 2htdp/universe "balls.rkt" "shared.ss")
|
||||||
|
|
||||||
|
(launch-many-worlds (run 'go) (make-player 200 "carl") (make-player 200 "sam"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user