Subdomain Posts
Scheme | 3 days ago
Scheme | 25 days ago
Scheme | 25 days ago
Scheme | 37 days ago
Scheme | 47 days ago
Scheme | 51 days ago
Scheme | 55 days ago
Scheme | 56 days ago
Scheme | 57 days ago
Scheme | 57 days ago
Recent Posts
None | 11 sec ago
None | 12 sec ago
PHP | 17 sec ago
None | 29 sec ago
None | 33 sec ago
PHP | 34 sec ago
None | 47 sec ago
None | 50 sec ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By lckchen on the 22nd of Jan 2010 11:20:26 PM
Download |
Raw |
Embed |
Report
;Definitionen
(define canvas-height 400)
(define cancas-width 700)
;Pfläche
(define fläche (rectangle 700 400 "solid" "green"))
;Punkt
(define punkt (ellipse 10 10 "solid" "white"))
;Player 1
(define player1 (rectangle 10 75 "solid" "white"))
;player 2
(define player2 (rectangle 10 75 "solid" "blue"))
;Overlay
(overlay (overlay (overlay fläche punkt 345 195) player1 20 (- (/ 400 2) (/ 75 2))) player2 670 (- (/ 400 2) (/ 75 2)))
; Berechnung der n�chsten Position des Punktes
(: next-world-calculation (natural -> natural))
(define next-world-calculation
(lambda (momentane-punkt-x)
(if (>= momentane-punkt-x canvas-width)
;Fall 1: Punkt ist dem Bildschirm entfleucht
start-punkt-x
;Fall 2: Punkt ist noch im Bildschirm
(+ momentane-punkt-x 5)
)
)
)
Submit a correction or amendment below.
Make A New Post