Skip to content

Instantly share code, notes, and snippets.

Avatar

Universalist235

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