The classic Snake game with 4 game modes and a plethora of options to modify the style.
Game modes are a combination of Normal and Diagonal movement, and Normal and Reverse controls
Java (JavaFX), NetBeans
Game Modes
- Normal
Arrow Keys
- Diagonal
1, 2, 4, 5 (numpad)
- Reverse (Controls are reversed)
Settings
- Access by pressing
Shift
on main screen - Save Settings
ESCAPE
- Discard Settings
Q
-
color
- Snake (Head & Tail)
- fill (GUI)
- stroke (pressing
C
after selecting color)
- Food
- fill (GUI)
- stroke (pressing
SHIFT + C
after selecting color)
- Game
- background (pressing
B
after selecting color)
- background (pressing
- Snake (Head & Tail)
-
size
- Snake (Head & Tail)
- piece (GUI)
- stroke (pressing
S
after selecting size)
- Food
- piece (GUI)
- stroke (pressing
SHIFT + S
after selecting size)
- Snake (Head & Tail)
Settings changed by key presses can be restored to default value by holding
CTRL
followed by appropriate keysExamples:
CTRL + B
to restore default background colorCTRL + SHIFT + S
to restore default food stroke size
Use Add and Remove buttons for appropriate category (Color or Size)
Which element you modify (HEAD, TAIL, FOOD) depends on what radio button is selected at top
GUI representation of values modified will be previewed on the right side:
- COLOR shown in boxes
- SIZE shown as number next to boxes)
V1
- Gradient Checked and clicking
Add
orRemove
under appropriate option (COLOR or SIZE) - Amount added based on slider next to gradient checkmark
V2
- clicking
Add (n)
orRemove (n)
under appropriate option - Amount based on n slider at top
ADDING
if category (HEAD, TAIL, FOOD) has no values (COLOR, SIZE) added, using gradient will just repeat that value
Example (using V2):
- category selected (HEAD)
- n slider set to 5
- size set to 9
- clicking
Add (n)
under size options- no values previously added for HEAD SIZE
- HEAD SIZE values: [9, 9, 9, 9, 9]
- value of 0 (zero) previously added for HEAD SIZE
- HEAD SIZE values: [0, 1, 3, 5, 7, 9]
- no values previously added for HEAD SIZE
REMOVING
Simply removes the amount set for n
Example (using V2):
- category selected (HEAD)
- n slider set to 3
- HEAD SIZE values [0, 1, 3, 5, 7, 9]
- clicking
Remove (n)
under size options- HEAD SIZE values: [0, 1, 3]
Head Unique
checked
- TAIL values based off of values set for TAIL
Head Unique
unchecked
- TAIL values based off of values set for HEAD
Sequence
checked
- pieces will be assigned value in order (according to order values were added)
- size example:
- [1, 2, 3, 4]
- [2, 3, 4, 1]
- [3, 4, 1, 2]
- size example:
Sequence
unchecked
- all pieces will be assigned same value (according to order values were added)
- size example:
- [1, 1, 1, 1]
- [2, 2, 2, 2]
- [3, 3, 3, 3]
- size example:
Frozen
checked
- COLOR or SIZE will update only when FOOD is eaten
Frozen
unchecked
- COLOR or SIZE will update automatically
- if
Frozen
checked &Sequence
unchecked for V2, all pieces will be assigned same value when FOOD is eaten - for V1, if
Frozen
is checked, it makes no difference ifSequence
is checked- behaves same way as V2's
Frozen
checked &Sequence
checked
- behaves same way as V2's
Example:
- SIZE radio button selected and HEAD radio button selected
- HEAD SIZE values [2, 4, 5, 10]
- clicking
Mirror
button- HEAD SIZE values [2, 4, 5, 10, 5, 4, 2]
- clicking
Clear
button- HEAD SIZE values []
- (R, G, B)
- (A)
- (R, G, B)
- (H, S, L)
- (A)