Course Homework Assignments

A collection of laboratory tasks completed throughout the semester.

Lab 1

Variables & Mathematical Operations

Implemented structural arithmetic syntax loops manipulating terminal user input streams safely.

Lab 2

Conditional Control Trees

Structured complex algorithmic decisions evaluating multi-layered expressions with nested logical gates.

Lab 3

Iterative Loops & Arrays

Managed memory collection structures by systematically looping through dynamically sized lists.

Interactive Final Project Simulation

A real-time vector collision rendering engine executing active predator tracking math.

GAME OVER! The Lion hunted the Deer.
Oasis Grass Eaten: 0

Game Implementation Log

This simulation uses core programming concepts developed in the introductory syllabus:

  • Dynamic Rendering: Programmatic vector maps drawing high-fidelity animal features.
  • Chasing Algorithm: Real-time distance tracking and step vector calculation.
  • Collision Buffers: Boundary checks enforcing grid perimeter constraints.

đŸ•šī¸ HOW TO PLAY:

Click "Start Game", then use your keyboard's Arrow Keys or WASD keys to sprint away from the lion while targeting green grass patches.