skip to main content
article
Free Access

Chance-It: an object-oriented capstone project for CS-1

Published:01 March 1998Publication History
Skip Abstract Section

Abstract

Most people enjoy playing games. Most CS-1 students will enjoy a final project that involves computational game-playing. Chance-It is a simple two-person dice game with many possible strategies at varying levels of sophistication and complexity. These features make the problem of formalizing and encoding a strategy to play Chance-It an interesting final project for CS-1.This paper describes an object-oriented final project for CS-1 in which students build Player1 and Player2 classes to play Chance-It. A ChanceItGame class and driver are provided to coordinate the interactions of these classes. The project provides students with an enjoyable introduction to object-oriented design and the problem of formalizing and codifying human strategy in software. Examples are given in C++, but convert easily to Java.

References

  1. 1 Adams, J., Leestma, S., Nyhoff, L., C++ An introduction to Computing (2ed Ed.), Prentice-Hall, Englewood Cliffs, New Jersey, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Me~owerks Corporation. http://www.metrowerks.com.Google ScholarGoogle Scholar
  3. 3 Parg~, R., Underwood, and Lundy J., Tournament Play in CS1, Proceedings of the 28th SIGCSE Technical Symposium on Computer Science Education (March, 1997), 214-218. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Pattis, R., Karel The Robot: A Gentle introduction To The Art Of Programming, Wiley, New York, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Pattis, R., Teaching O0P in C++ Using an Artificial Life Framework, Proceedings of the 28th SIGCSE Technical Symposium on Computer Science Education (March, 1997), 39-43. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Samuel, A. L., Some Studies In Machine Learning Using The Game Of Checkers. IBM Journal of Research and Development (3), 1959, 210-229.Google ScholarGoogle Scholar
  7. 7 Simon, H.A. and Munakata, T. AI Lessons, Communications of the A CM (August, 1997), 23-25.Google ScholarGoogle Scholar
  8. 8 Turing, A.M., Straehey, C., Bates, M.A., and Bowden, B.V., Digital Computers Applied To Games. in B.V. Bowden, Ed. Faster Than Thought, Pitman, London, 1953.Google ScholarGoogle Scholar
  9. 9 Weizenbaum, J., Computer Power and Human Reason, W.H. Freeman and Company, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Chance-It: an object-oriented capstone project for CS-1

                Recommendations

                Comments

                Login options

                Check if you have access through your login credentials or your institution to get full access on this article.

                Sign in

                Full Access

                • Published in

                  cover image ACM SIGCSE Bulletin
                  ACM SIGCSE Bulletin  Volume 30, Issue 1
                  Mar. 1998
                  376 pages
                  ISSN:0097-8418
                  DOI:10.1145/274790
                  Issue’s Table of Contents
                  • cover image ACM Conferences
                    SIGCSE '98: Proceedings of the twenty-ninth SIGCSE technical symposium on Computer science education
                    March 1998
                    396 pages
                    ISBN:0897919947
                    DOI:10.1145/273133

                  Copyright © 1998 ACM

                  Publisher

                  Association for Computing Machinery

                  New York, NY, United States

                  Publication History

                  • Published: 1 March 1998

                  Check for updates

                  Qualifiers

                  • article

                PDF Format

                View or Download as a PDF file.

                PDF

                eReader

                View online with eReader.

                eReader
                About Cookies On This Site

                We use cookies to ensure that we give you the best experience on our website.

                Learn more

                Got it!