上QQ阅读APP看书,第一时间看更新
Snake Clone
This game is a remake of the classic that has been enraging gamers for decades. Guide your snake around the screen and gaining points by eating apples. Each time you eat an apple your snake gets longer and harder to keep alive. In this project we learn about Java ArrayList
, enhanced for
loop, the Stack, the Heap and the Garbage collector (seriously- it's a thing) and we will also see how to make our games multilingual. Hola!
The game ends when the snake bumps into the edge of the screen or ends up eating part of his own body.