![]() ![]() By using a fixed grid for the locations of the snake head and body elements, making a growing snake turned out to be pretty straightforward and easy to manipulate.Ĭontrolling the Game with a Joystick on Raspberry Pi The first challenge to be tackled was making a snake out of multiple elements. My son is delighted because his idea is now a real game! Creating the Basics of a Snake Gameįor the first video, we started from a minimal project I prepared, containing the images selected by my son and some basic code. ![]() Luckily Almas asked me if I had a topic for some pair-programming for his YouTube channel, and his question turned into a three-part series. He selected the emoji images and I "only" needed to do the programming bit, the easy part. To give some background, some time ago my 10y old son challenged me to create a Snake-like game with emojis. We will then modify the application to run on a Raspberry Pi and on a mobile device. In this article, Almas and I will show you how to start with an idea for a game and bring it to life in a prototype application. Frank Delporte is a Java Champion, Java developer, technical writer at Azul, blogger, author of "Getting started with Java on Raspberry Pi", and contributor to Pi4J. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |