Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Assignment
Synopsis
In this activity, students exercise their understanding of file reading and graphics to display a chess problem as specified by data provided in a file. Students begin by reading a file containing positions of chess pieces, and then display pieces on a graphical board to represent the position encoded in the file.
Recommendations
For more information on how this homework fits within the scope of the course, please see the following course schedule and syllabus here: (http://mathcs.pugetsound.edu/~aasmith/cs161/). Search "Chess Problems".
Engagement Highlights
By putting file reading and graphics in the context of an extremely well-known board game (chess), the activity has Meaningful and Relevant Context.
Engagement Practices Employed
Materials and Links
Computer Science Details
Programming Language
Java
Material Format and Licensing Information
Creative Commons License
CC BY-NC-SA