Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 3.02 KB

README.md

File metadata and controls

40 lines (30 loc) · 3.02 KB

Snakee Maya : Wrath of the Feathered Serpent

Author: He SUN

Brief Project Description

Snakee Maya : Wrath of the Feathered Serpent is a captivating take on the classic snake game, set in a mysterious world adorned with the rich visual styles of the Maya, Aztec, and Toltec civilizations.

How to Install and Run the Project

1. Clone the Repository

Use Git to clone the project to your local machine. Open your terminal and run the following command:

git clone https://projects.cs.nott.ac.uk/scyhs4/comp2013-sunhe.git

2. Running the Game

  • Open the project in your preferred IDE (such as IntelliJ IDEA, Eclipse, or NetBeans).
  • Run MainView using the IDE's built-in JavaFX support. If you prefer using a text editor like Vim, compile and run the project using Maven.

3. Managing Dependencies

  • This project requires Java 21 and JavaFX 21. Ensure you have the compatable Java version installed on your system.
  • The project is built with Maven 3.8.5.

How to Use the Project

  • Start the Game: Launch Snakee Maya and select 'Start Game' to choose your faction. In each scene, you will play a snake use up, down, left and right arrow keys. Scores will increase as you eat food. The snake dies if it hits the wall or itself.

  • Maya: Play a Mayan snake compete against an Aztec snake. The speed is normal. There are 2 pairs of portals pyramids in the game, which can be used to teleport the snake to the other side of the map.

  • Aztec: Play an Aztec snake compete against a Toltec snake. The speed is fast. There are a many warrior characters attacking your snake.

  • Toltec: PLay a Toltec snake compete against a Mayan snake. The speed is faster. There are 3 fast whirling storms harming your snake and diverting it.

  • Pause/Continue: Click the 'Pause/Continue' button to pause or resume the game.

  • Home: Click the 'Home' button to go back home.

  • Hall of Fame: Click the 'Hall of Fame' button to see the leaderboard of the game. Click on the header to sort by name/score/faction.

  • Theme: Click the 'Theme' button to switch the theme of the game. There are 2 themes: warm and cold.

  • Music: Click the 'Music' button to switch the music on or off.

Credits

  • Graphics: Original Mayan-themed graphics generated using OpenAI's DALL·E-2 API. Image processing (size, temperature and contrast changing) using a python script involving Willow. Cutout using Meta's SAM.
  • Soundtrack: Original epic music composition generated using Google's MusicLM based on this paper. Sound of special tools and collisions from Pixabay.
  • Game Engine: Developed using JavaFX.