Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Project
Synopsis

In this project, students are asked to create the game Snake, which consists of a rectangular board of 20 rows and 30 columns. The snake and player both live on the board. The snake is represented by the letter "X" on the board, and the player is represented by the letter "i". The object of the game is to avoid being bitten or eaten by the snake. Students use stepwise refinement to build versions of the game.

Recommendations

Use pair programming and/ or student to student interaction to have groups of students work together on this game. By working in teams and discussing different strategies, students are likely to come with more creative and innovative approaches.

It may be helpful to view this chapter on matrices/ arrays while doing this project. (http://troll.cs.ua.edu/ACP-PY/index_19.html

Engagement Highlights

Using the Python programming language, students are asked to use functions and stepwise refinement in order to build the game Snake. By using a fun and interactive game, this project demonstrates Meaningful and Relevant Content.

Engagement Practices Employed

Materials and Links

Materials

Computer Science Details

Programming Language
Python

Material Format and Licensing Information

Creative Commons License
CC BY