Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Haskell in Space: An interactive game as a functional programming exercise

Published: 01 November 2003 Publication History

Abstract

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.

References

[1]
Aerts, K. and De Vlamnick, K. (1999) Games provide (functional programming tasks). Functional and Declarative Programming in Education, FDPE'99.
[2]
Edwards, D. J. and Graetz, J. M. (1962) PDP-1 plays at Spacewar. Decuscope, 1(1). (Available at http://www.wheels.org/spacewar/decuscope.html.)
[3]
Graetz, J. M. (1981) The origin of Spacewar. Creative Computing, August. (Available at http://www.enteract.com/~enf/lore/spacewar/spacewar.html.)
[4]
Hudak, P. (2000) The Haskell School of Expression. Cambridge University Press.
[5]
Lüth, C. (2001) Haskell in Space web page. http://www.informatik.uni-bremen.de/ ~cxl/haskell-in-space.
[6]
Reid, A. (n.d.) The Hugs Graphics Library. http://www.haskell.org/graphics.
[7]
Thompson, S. (1999) Haskell: The craft of functional programming. Second ed. Addison-Wesley.

Cited By

View all
  • (2018)Teaching how to program using automated assessment and functional glossy games (experience report)Proceedings of the ACM on Programming Languages10.1145/32367772:ICFP(1-17)Online publication date: 30-Jul-2018
  • (2010)Functional video games in the CS1 classroomProceedings of the 11th international conference on Trends in functional programming10.5555/2035141.2035152(166-183)Online publication date: 17-May-2010
  • (2005)Word puzzles in HaskellProceedings of the 2005 workshop on Functional and declarative programming in education10.1145/1085114.1085119(15-18)Online publication date: 25-Sep-2005

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Journal of Functional Programming
Journal of Functional Programming  Volume 13, Issue 6
November 2003
125 pages

Publisher

Cambridge University Press

United States

Publication History

Published: 01 November 2003

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 30 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Teaching how to program using automated assessment and functional glossy games (experience report)Proceedings of the ACM on Programming Languages10.1145/32367772:ICFP(1-17)Online publication date: 30-Jul-2018
  • (2010)Functional video games in the CS1 classroomProceedings of the 11th international conference on Trends in functional programming10.5555/2035141.2035152(166-183)Online publication date: 17-May-2010
  • (2005)Word puzzles in HaskellProceedings of the 2005 workshop on Functional and declarative programming in education10.1145/1085114.1085119(15-18)Online publication date: 25-Sep-2005

View Options

View options

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media