Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Games
»
Yet Another Snake Game
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Ann: Deinline: a de-inlin...
by
Thaddy
[
Today
at 05:22:37 pm]
TurboBird IBX
by
maurog
[
Today
at 04:10:32 pm]
The ever re-appearing /= ...
by
Thaddy
[
Today
at 04:05:48 pm]
Lazarus Image Editor
by
Paolo
[
Today
at 03:40:33 pm]
Remote desktop software i...
by
gidesa
[
Today
at 02:25:43 pm]
Omitting semicolon on las...
by
Xenno
[
Today
at 02:04:31 pm]
FPC Unleashed (inline var...
by
Thaddy
[
Today
at 01:44:27 pm]
I can write your README.m...
by
domasz
[
Today
at 09:53:02 am]
fp-h2pas: New C header tr...
by
ccrause
[
Today
at 09:48:31 am]
Can /my/ AI help me with ...
by
cdbc
[
Today
at 08:59:28 am]
android attack (inc)
by
speter
[
Today
at 04:19:54 am]
Little bit...
by
n7800
[
Today
at 03:51:08 am]
[ANN] Unofficial FPC 3.3....
by
440bx
[
Today
at 01:00:04 am]
NiceGrid component for La...
by
wp
[
Today
at 12:03:57 am]
Track windows cross-platf...
by
dsiders
[April 10, 2026, 07:43:43 pm]
[ANN] PasBuild v1.8.0 Rel...
by
Graeme
[April 10, 2026, 06:43:13 pm]
Подписи кнопок панели инс...
by
Raskaton
[April 10, 2026, 06:37:48 pm]
HTTPS-сервер с ГОСТ-серти...
by
Raskaton
[April 10, 2026, 06:29:36 pm]
Strange behavior with dat...
by
JanRoza
[April 10, 2026, 06:20:38 pm]
RegExpr matchting empty s...
by
Thaddy
[April 10, 2026, 04:35:27 pm]
TLazSerial : serial port ...
by
CM630
[April 10, 2026, 03:45:42 pm]
Can't pass string to TEdi...
by
lazarusprogrammer
[April 10, 2026, 02:04:36 pm]
Messing with Gemini AI an...
by
gidesa
[April 10, 2026, 12:48:03 pm]
Lazarus Bugfix Release 4....
by
dbannon
[April 10, 2026, 10:09:07 am]
[SOLVED] How to enter gen...
by
PascalDragon
[April 10, 2026, 07:27:12 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Yet Another Snake Game (Read 646 times)
silvercoder70
Full Member
Posts: 201
Yet Another Snake Game
«
on:
March 17, 2026, 09:40:16 am »
Hi everyone,
I know the world doesn't need another Snake clone, but I used this as a teaching exercise to see how "clean" I could keep the logic using modern FPC/Lazarus features.b It's not the greatest code, but it’s functional. Feel free to play with it, break it, or make it better.
Video here:
https://youtu.be/MQamUn-I-bc?si=bf3wDLZUdwfxw40j
GitHub:
https://github.com/silverpascalcoder/fpc/tree/main/games/snake-gui
Enjoy. Hopefully...
Logged
🔥 Pascal Isn’t Dead -> See What It Can Do:
@silvercoder70 on YouTube
Ñuño_Martínez
Hero Member
Posts: 1225
Re: Yet Another Snake Game
«
Reply #1 on:
March 23, 2026, 12:12:30 pm »
Never enough Snake games.
[edit] Saw the video. Pretty nice game. I'll test it later.
Logged
Are you interested in
game programming
? Join the
Pascal Game Development
community!
Also visit the
Game Development Portal
Roland57
Hero Member
Posts: 602
Re: Yet Another Snake Game
«
Reply #2 on:
March 23, 2026, 01:26:44 pm »
Nicely done. Thank you for sharing.
I noticed that some direction changes are not drawn correctly: the snake is broken.
Logged
My projects are on
Codeberg
.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Games
»
Yet Another Snake Game
TinyPortal
© 2005-2018