Haskell in Space An Interactive Game as a Functional Programming Exercise
نویسنده
چکیده
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.
منابع مشابه
Functional Reactive Programming in K12 Education
The Western Computer Camp is a summer camp hosted by Western State Colorado University for students in grades 8 through 12 who are interested in mathematics, physics, design, and computer science. Each session lasts one week, during which time the students build 3D virtual worlds as a means of interdisciplinary learning. The worlds are created using the Panda3D game engine and a Functional Reac...
متن کاملHeat — An Interactive Development Environment for Learning & Teaching Haskell
Using a separate editor and interpreter provides many distracting obstacles for inexperienced students learning a programming language. Professional interactive development environments, however, confuse and distract these students with their excessive features. Hence this paper presents Heat, an interactive development environment specially designed for novice students learning the functional ...
متن کاملLive music programming in Haskell
We aim for composing algorithmic music in an interactive way with multiple participants. To this end we have developed an interpreter for a sublanguage of the non-strict functional programming language Haskell that allows the modification of a program during its execution. Our system can be used both for musical live-coding and for demonstration and education of functional programming.
متن کاملA Programming Tutor for Haskell
In these lectures we will introduce an interactive system that supports writing simple functional programs. Using this system, students learning functional programming: – develop their programs incrementally, – receive feedback about whether or not they are on the right track, – can ask for a hint when they are stuck, – see how a complete program is stepwise constructed, – get suggestions about...
متن کامل