| Chance-It: an object-oriented capstone project for CS-1 |
| Full text |
Pdf
(605 KB)
|
| Source
|
Technical Symposium on Computer Science Education
archive
Proceedings of the twenty-ninth SIGCSE technical symposium on Computer science education
table of contents
Atlanta, Georgia, United States
Pages: 10 - 14
Year of Publication: 1998
ISBN:0-89791-994-7
Also published in ...
|
|
Author
|
|
Joel C. Adams
|
Department of Computer Science, Calvin College, Grand Rapids, Ml
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 8, Downloads (12 Months): 23, Citation Count: 16
|
|
|
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
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
Me~owerks Corporation. http://www.metrowerks.com.
|
 |
3
|
Roy P. Pargas , Joe C. Lundy , John N. Underwood, Tournament play in CS1, Proceedings of the twenty-eighth SIGCSE technical symposium on Computer science education, p.214-218, February 27-March 01, 1997, San Jose, California, United States
|
| |
4
|
|
 |
5
|
|
| |
6
|
Samuel, A. L., Some Studies In Machine Learning Using The Game Of Checkers. IBM Journal of Research and Development (3), 1959, 210-229.
|
| |
7
|
Simon, H.A. and Munakata, T. AI Lessons, Communications of the A CM (August, 1997), 23-25.
|
| |
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.
|
| |
9
|
|
CITED BY 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Peter Shirley , Kelvin Sung , Erik Brunvand , Alan Davis , Steven Parker , Solomon Boulos, Education: Fast ray tracing and the potential effects on graphics and gaming courses, Computers and Graphics, v.32 n.2, p.260-267, April, 2008
|
|