Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Snake Game

Overview

This is a Java-based Snake Game that builds upon the foundational concepts presented in the tutorial by Bro Code.

Features

  • Two-player mode
  • Multiple levels with increasing difficulty
  • Poison food that ends the game
  • Obstacles that players must avoid
  • Score tracking for each player
  • High score logging

Getting Started

To run the game, ensure you have Java installed on your machine. Clone the repository and navigate to the project directory. You can then compile and run the game using your preferred IDE or command line.

Prerequisites

  • Java Development Kit (JDK) 22 or higher
  • Maven (for dependency management)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/JavaSnakeGame.git
    
  2. Navigate to the project directory:
    cd JavaSnakeGame
    
  3. Compile and run the project:
    mvn clean install
    mvn exec:java -Dexec.mainClass="org.example.SnakeGame"
    

Acknowledgments

This project is based on the Snake Game tutorial by Bro Code. You can watch the tutorial here.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages