Hostname: page-component-cd9895bd7-gbm5v Total loading time: 0 Render date: 2024-12-26T08:09:03.160Z Has data issue: false hasContentIssue false

Haskell in Space

An interactive game as a functional programming exercise

Published online by Cambridge University Press:  29 October 2003

CHRISTOPH LÜTH
Affiliation:
FB 3 — Mathematik und Informatik, Universität Bremen, Bremen, Germany (e-mail: [email protected])
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

This paper describes a practical exercise set to an introductory functional programming course. The exercise is to implement a small game involving a space ship in an asteroids belt, after the fashion of the classic Asteroids arcade game. The positive experience suggests that interactive graphics programs of this kind make good and entertaining programming exercises for functional programming courses.

Type
EDUCATIONAL PEARL
Copyright
© 2003 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.