Skip to main content

Functional Video Games in the CS1 Classroom

  • Conference paper
Trends in Functional Programming (TFP 2010)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6546))

Included in the following conference series:

Abstract

Over the past decade enrollments in Computer Science undergraduate programs have drastically dropped while simultaneously seeing demand for computer scientists in the job market increase. The reason for this disconnect is, in part, due to the perception new potential students have of programming as a dull activity requiring no creativity, very little social interaction, and endless hours of coding in front of a monitor. The question then is how can we capture the imagination of new students and perk their interest in a way that gets them excited while at the same time giving them a solid foundation in computer programming and Computer Science. This article puts forth the thesis that developing video games using functional programming should be a new trend in the CS1 classroom. The article describes the approach implemented at Seton Hall University using video game programming and Felleisen et al.’s textbook How to Design Programs. The first-year programming curriculum is briefly described and how to get students interested in programming through the development of a Space-Invaders-like game is illustrated. The presented development gives the reader a clear sense of how to use functional video games in the first semester classroom.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Achten, P.: Teaching Functional Programming with Soccer-Fun. In: FDPE 2008: Proceedings of the 2008 International Workshop on Functional and Declarative Programming in Education, pp. 61–72. ACM, New York (2008)

    Chapter  Google Scholar 

  2. Courtney, A., Nilsson, H., Peterson, J.: The Yampa Arcade. In: Haskell 2003: Proceedings of the 2003 ACM SIGPLAN Workshop on Haskell, pp. 7–18. ACM, New York (2003)

    Google Scholar 

  3. Felleisen, M., Findler, R.B., Fisler, K., Flatt, M., Krishnamurthi, S.: How to Design Worlds (2008), http://world.cs.brown.edu/1/

  4. Felleisen, M., Findler, R.B., Flatt, M., Krishnamurthi, S.: How to Design Programs: An Introduction to Programming and Computing. MIT Press, Cambridge (2001)

    MATH  Google Scholar 

  5. Felleisen, M., Findler, R.B., Flatt, M., Krishnamurthi, S.: A functional i/o system or, fun for freshman kids. In: Hutton, G., Tolmach, A.P. (eds.) ICFP, pp. 47–58. ACM, New York (2009)

    Chapter  Google Scholar 

  6. Felleisen, M., Krishnamurthi, S.: Viewpoint: Why Computer Science Doesn’t Matter. Communications of the ACM 52(7), 37–40 (2009)

    Article  Google Scholar 

  7. Harris, A.: The L Line, The Express Line to Learning. In: Game Programming, Wiley Publishing, Inc., Hoboken (2007)

    Google Scholar 

  8. Lacey, T.A., Wright, B.: Occupational Employment Projections to 2018. Monthly Labor Review, 82–123 (November 2009)

    Google Scholar 

  9. Lüth, C.: Haskell in Space: An Interactive Game as a Functional Programming Exercise. J. Funct. Program 13(6), 1077–1085 (2003)

    Article  MATH  Google Scholar 

  10. Money Magazine and Salary.com. Best Jobs in America. Money Magazine (2009)

    Google Scholar 

  11. McGugan, W.: Beginning Game Development with Python and Pygame: From Novice to Professional. Apress, Berkeley (2007)

    Google Scholar 

  12. The Joint Task Force on Computing Curricula. Computing Curricula 2001 Computer Science (December 2001), http://www.acm.org/education/education/education/curric_vols/cc2001.pdf

  13. CS2008 Review Taskforce. Computer Science Curriculum 2008: An Interim Revision of CS 2001 (December 2008), http://www.acm.org//education/curricula/ComputerScience2008.pdf

  14. Zweben, S.: 2007-2008 Taulbee Survey. Computing Research News (May 2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Morazán, M.T. (2011). Functional Video Games in the CS1 Classroom. In: Page, R., Horváth, Z., Zsók, V. (eds) Trends in Functional Programming. TFP 2010. Lecture Notes in Computer Science, vol 6546. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22941-1_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-22941-1_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-22940-4

  • Online ISBN: 978-3-642-22941-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics