We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to improve the readability of the project and add a restart button
Some examples for the readability part:
ranX= 0 + (int)(Math.random()*19); -> ranX = (int) (Math.random()*19) directionSnake = 1 -> snakeDirection = Directions.RIGHT ArrayList<ArrayList<DataOfSquare>> Squares= new ArrayList<ArrayList<DataOfSquare>>(); -> ... = new ArrayList<>();
ranX= 0 + (int)(Math.random()*19);
ranX = (int) (Math.random()*19)
directionSnake = 1
snakeDirection = Directions.RIGHT
ArrayList<ArrayList<DataOfSquare>> Squares= new ArrayList<ArrayList<DataOfSquare>>();
... = new ArrayList<>();
The text was updated successfully, but these errors were encountered:
#18 done, did not add the third part to maybe keep it compatible with older java versions
Sorry, something went wrong.
No branches or pull requests
I'd like to improve the readability of the project and add a restart button
Some examples for the readability part:
ranX= 0 + (int)(Math.random()*19);
->ranX = (int) (Math.random()*19)
directionSnake = 1
->snakeDirection = Directions.RIGHT
ArrayList<ArrayList<DataOfSquare>> Squares= new ArrayList<ArrayList<DataOfSquare>>();
->... = new ArrayList<>();
The text was updated successfully, but these errors were encountered: