Skip to content

This repository contains the project developed for the Interactive Graphics class.

Notifications You must be signed in to change notification settings

Leon1da/snake3d

Repository files navigation

Snake3D

The project was developed as part of the Computer Graphics class at Sapienza University of Rome.

Snake3D is a classic game implementation of Snake in a 3D environment. The game is built using JavaScript and the Three.js library, bringing a new twist to the traditional Snake gameplay.

Gameplay

In Snake3D, you control a snake represented by a chain of interconnected cubes within a three-dimensional playing field. Your objective is to maneuver the snake around the 3D environment, consuming food to grow in length and score points.

The snake can be controlled using the keyboard's directional keys. Be careful not to collide with the obstacles of the playing field or your own body, as doing so will end the game. As you progress and the snake grows, the challenge increases, requiring strategic thinking and quick reflexes to avoid collisions.

Features

  • 3D gameplay: Experience the classic Snake game in a three-dimensional setting.
  • Score tracking: Keep track of your high score and strive to beat your previous records.
  • Responsive controls: Control the snake's movement using the directional keys on your keyboard.
  • Engaging graphics: Enjoy visually appealing graphics rendered with the Three.js library.

Getting Started

To play Snake3D, simply open the provided HTML file in a web browser that supports JavaScript. Use the directional keys on your keyboard to control the snake's movement. Eat the food, grow, and aim for a high score!

Feel free to explore the repository to understand the code and make any modifications or improvements you desire.

Authors

Leonardo Ospizio, Francesco Riccardo Tassone

About

This repository contains the project developed for the Interactive Graphics class.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •