Skip to content

Instantly share code, notes, and snippets.

View Universalist235's full-sized avatar

Universalist235

View GitHub Profile
@Universalist235
Universalist235 / gist:6171371
Created August 7, 2013 05:10
Simple space game in racket using hdtp2/universe
#lang racket
(require
2htdp/image
2htdp/universe)
; World constants
(define WIDTH 600)
(define HEIGHT 400)
(define BKG-IMG (rectangle WIDTH HEIGHT "solid" "black"))