Code Monkey home page Code Monkey logo

greedy-snake-java's Introduction

greedy-snake-java

GitHub release GitHub Releases Downloads

README | 中文文档

logo

What's greedy-snake-java

  • This is a greedy snake game implemented in Java.
  • Version of JDK is 1.8
  • Developing Based on Java GUI, used the package of Swing/AWT

Quick Start

  • Please ensure that the JVM environment is installed properly before starting
  • Download the jar file what name is greedy-snake-java-xxx.jar from Release
  • run the command java -jar greedy-snake-java-xxx.jar to start game.

Introduction to functions

  • The basic logic of Greedy Snake Game. Basic view generation and movement rules
  • Scoreboard. Simple scoreboard functionality displaying the current score and length
  • Multiple Level Foods. Foods of different levels are generated based on probabilities, with higher-scoring foods having lower probabilities. An expiration policy for foods is added, where higher-scoring foods have shorter lifespans
  • Dynamic Difficulty Control. As the score increases, the snake's movement speed accelerates, making the game progressively more challenging
  • Game Start/Pause Capability

LICENSE

greedy-snake-java is licensed under Apache-2.0

greedy-snake-java's People

Contributors

dongyanghu avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.