Git Product home page Git Product logo

snake4j's People

Contributors

walle1doctor1who avatar

Stargazers

 avatar

Watchers

 avatar

snake4j's Issues

Snake Repair Functionality

The snake repair methods (repair, repairSegment, and repairAfterRemoval) need to be finished and tested so as to allow snakes to repair themselves. Finishing and testing the repairAfterRemoval method will also finish the tile removal functionality (currently the only tiles that can be removed without risking something breaking are the snake's head and tail).

High score display

With the settings being now being saved, a high score can now be kept. The high score should store the length of the snake, along with the relevant game settings used when acquiring the high score.

Two player mode

Add a two player mode. The means to do so are already there, with the play field already supporting showing snake tiles in two different colors, and a second snake could be used for the second player. There is also a graphic that shows the arrow keys which could be used to show the controls for a second player. All that remains is implementing the second player in the main game.

Custom UI

Implement a custom UI for the swing components to give the game its own appearance instead of just using the Nimbus UI.

Snake addAll method

The snake addAll method currently has the same restrictions as the offer method when it comes to the tiles it allows. The plan is to allow the addAll method to allow tiles with two (maybe more) directions set, so as to make it easier to be used to populate a snake with a collection of tiles, possibly even with another snake. This would allow for greater flexibility and could be used for different game modes.

Card Layout For Game Overlays

Currently the play field and overlays are all displayed via a layered pane, with each overlay having it's own layer. However, since only one overlay if any should be visible at any given time, the other overlays currently need to be hidden when not in use. And when no overlays are to be visible, they all need to be hidden. If the overlays were all cards displayed on a single general overlay layer, then switching to a different overlay would be a matter of switching which card is currently displayed. Hiding all the overlays during gameplay would also be easier, since only one component will need to be hidden instead of multiple components.

Animated Demo on Main Menu

As the title says, the game should play a demo on the main menu when you first start the game or when no game is currently in play.

Settings file functionality

Add the ability to save the program's current settings to file when closing and to be able to load the settings from file when starting up. This would allow for the settings to persist between instances of the program.

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.