Hungry Snake

Recommended levellevel
5+
A long serpentine creature slithers across a limited field, obeying the player's orders (moving right, left, down, and up). And there's no way to stop it from moving. Just don't touch the boundaries or you'll die! And don't bite yourself or... well, you get the idea. Along the way, the creature encounters food that makes it even longer. As it grows, it gets more and more cramped... Stop the madness! You probably recognize this comedic storyline from the famous game "Snake". This game originated in the 1970s. That's when it first appeared on arcade machines. In the 21st century, it was popularized by Nokia, which pre-installed Snake on almost all their mobile phones. Between these two milestones, there were versions for the Commodore VIC-20, MS-DOS, ZX Spectrum, Windows, Mac OS… If you go to Google Play or the App Store, you'll probably find a couple dozen different versions of Snake. It's hard to imagine a platform that doesn't have its own version of Snake. Why? On the one hand, it's an interesting game that is perfect for passing the time. On the other hand, Snake is simple enough to create on your own. See for yourself! Use Java to write your own version of this game about the adventures of a growing reptile. On CodeGym, we've already described every step, which will help a novice player handle this task without problems. Carry on!
Comments(33)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
RichLevel 13 , San Diego
Wednesday, 00:02
hi everyone
antonLevel 0
25 August, 13:20
hello
30 June, 01:13
(flashback) Mengenang Hp Nokia tahun lampau
Santiko NandaLevel 0 , Jakarta
19 June, 12:44
hii
ShivamLevel 0
10 August, 04:38
Hello
AGUNG IRAWANLevel 0
18 June, 16:29
what do you mean?
Muhammad NR HidayatullahLevel 0 , Surabaya
18 June, 15:56
snake i do not have ulti
Muhammad Khasan SandiLevel 0 , Surabaya
18 June, 12:25
lumayan menguras tenaga
dwi nugrohoLevel 0 , Jakarta
12 June, 12:46
hallo guys can you help me to fix my error?
Alvin DLevel 3 , Toarushi
12 June, 17:00
up
Aslı İBRİLevel 0
28 May, 19:03
k
EEEEEEEELevel 0
18 May, 17:41
cheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeese