Learn Basic Programming by example - A 2D Game - Part 04

Опубликовано: 06 Июнь 2026
на канале: Pure Programming
537
20

Learn PureBasic by example. Follow the development step by step of a simple 2D game : the snake. This famous game lets you control a snake on a screen where apples appear at random. When the snake eats an apple, it grows in size. The goal is to survive the longest.

In this episode, I make apples appear at random on the screen and make the snake grow when it eats an apple.

Download the code from this episode at http://bit.ly/3bR8JyG

Download PureBasic at http://www.purebasic.com/pp

Support the channel with some Merchandising
EU : shop.spreadshirt.net/pure-programming
US : shop.spreadshirt.com/pure-programming

Jungle Photo by Jacob Plumb on Unsplash
Snake Photo by James Wainscoat on Unsplash
Snake Photo by Mohan Moolepetlu on Unsplash
Horse Photo by Melinda Derksen on Unsplash
Apple Photo by Louis Hansel @shotsoflouis on Unsplash