Skip to content

Snake game. Language using Clean Code principles, and using Java language.

Notifications You must be signed in to change notification settings

nikasakandelidze/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Snake

Well known game Snake, implemented fully in Java language.

Used technologies :

  • MVC
  • Swing(for front of the application)
  • Java 8 features( Functional interfaces, Lambdas ... etc )

Main classes:

  • Main.java - creates and connects Model View and Controller, sets up Key Listeners for game.
  • Model.java - encapsulates logic of the game(Inside we have helper classes like Logic.java,State.java..etc)
  • View.java - encapsulates front of the application using Swing lib.Draw board,Snake on each iteration.
  • Controller.java - Listens to model, whenever model is changed notifies view to update board/snake locations.

About

Snake game. Language using Clean Code principles, and using Java language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages