PrithvirajKhelkar / Advanced-Data-Structures-Project

A project made for the Advanced Data Structures class at MIT Pune (2018)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced-Data-Structures-Project

A project made for the Advanced Data Structures class at MIT Pune (2018).

Team members:

Description

A top down snake game made in Java using linked lists, based on the classic Snake game.

Classes

Node

A Node in the snake body. Stores the location (x, y), color, and the next node.

SnakeBody

The Body of the snake. Contains all the nodes connected as a linked list, and the root node as the head of the snake. Basic functions like eat, move, paint, etc.

Arena

The playable area, extends JPanel, which overrides the paintComponent method.

About

A project made for the Advanced Data Structures class at MIT Pune (2018)


Languages

Language:Java 100.0%