This past year, I introduced my students to Javascript. I created this simple game called Cat and Dog to introduce the basics of a game loop and getting basic input and movement in a game. This is a 2 player game where the cat is controlled by the keyboard and the dog is controlled by…
Category: Programs
This category has posts about programs I have developed over the years that you may find useful.
Graphic World: A Simple 2D Pygame
Graphics World is a simple 2D game made in Python with the Pygame library. Pygame is a great library that is quite easy for students to learn and start making graphical games. This Graphics World assignment is designed to help students explore how to make a graphical game. Graphics World is a follow up assignment…
TextWorld: Simple 2D terminal action game
TextWorld is a simple 2D action game that is played in the terminal/console. The player collects items while avoiding a monster. The game is written in Python3. I use it as a lab for my students to explore how to create a simple game. The students are given a minimal working sample of the game….
Computer Artist Assignment
A long time ago, there was a language called LOGO that taught programming by instructing the computer to draw shapes by controlling a turtle on the screen. Students learned basic concepts such as variables, recursions, and loops. This assignment is inspired by LOGO. I have used this assignment with the following languages: Python: The turtle…
AP Computer Science: Minesweeper Lab
An AP Computer Science A lab that uses the game Minesweeper to teach students how to use multi-dimension arrays, and iteration vs recursion.