Haskell in Space An Interactive Game as a Functional Programming Exercise

نویسنده

  • CHRISTOPH LÜTH
چکیده

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.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

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...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003