Game #1 Greedy Snake

Keyboard Game, written in Python, 2020

github.com/shawnxd/greedy_snake

Screenshot

Implementation

Created Snake class that involves attributes including alive_status, length, tail_list, 2D_coordination Used random function to create random food objects for the snake. Used pygame package to set up game window and controller from the keyboard. Created Utility class to calculate utility score and game status.