Ilon O'yini 🐍
Har holda bu o'yinni bilmaydigan odamni o'zi bo'lmasa kerak, hammamiz bilgan NOKIA 📱 dagi "Snake Game"
Men bu o'yinni birinchi marta pascal tilida yaratganman, sizlarga ulashgan loyiha esa shu o'yinning 4 - versiyasi
Balki kelajakda uni yanada takomillashtirib keyingi versiyalarini ham chiqararman 🙃
Khalilov Ibrohim 🙍🏻♂️
👉🏻 khalilovibrohimuz@gmail.com 👈🏻
Bu o'yin menga o'yin yaratishni o'rganishimga va OOP ni yaxshi tushunishimga yordam berdi
Kod hammaga ochiq va siz bu loyihadagi kodlarga qarab o'yin yaratishni o'rganishingiz mumkin bo'ladi
Ishingizda omad ✊
Dasturni ishga tushirish uchun snake.py faylini ishga tushirishingiz kerak,
bundan oldin kompyuteringizga python interpreteri va pygame kutubxonasi o'rnatilganligiga
ishonch hosil qiling
GitHub havolasi 👉🏻 Khalilov Ibrohim 👈🏻 Boshqa dasturlarimni shu joydan topishingiz mumkin 😉
LinkedIn havolasi 👉🏻 Khalilov Ibrohim 👈🏻 Men bilan bog'lanish uchun 🖇️
YouTube kanalim 👉🏻 Alien Developer 👈🏻 Tez kunda...
picture.size = (100x35)
,:,,,,:;+*;***+;:::;,:,, ;*=**+:,:,*;:,,,... +**======***+;:..............::,,;::,:::++;+#%%%%%%%%%
:::;+;+;**,+*;::;:::::::=#=#**:,;:**++:: ..;*=========**++:.............:;;:;+++,:;:;:;;;%%%%%%%%%
;;;+**==+===:;:::++++;:#%##=*:;+:::::::,.. .**==####==+;,,.. .............,;,;+:+++::::=;**%%%%%%%%
+=***=####;;====+;+***%%###=+;*;#=**:;:.....;+;...,. ,.. .....,,:,,:,..,,,;+:+***+*=*;++**%%%%%%%
==##%=*#%#%###=;*;++%%%%%#=++=++;=*;+;,., ..:,.:.., . .,: .;.,,. .,,.,:::::;;###*++=*%%%%%%
=%%%*=*%%%%*++*#*=*%%%%%%=++=*##+;;+:, .. .,,..,:,.:.:,.:.:: .:,..:;:..;.,..::=++;;+;%##=%%%%%
%%%==*#=+**++++**#%%%%%%#**=*###;++,. . . , .,,:,:,::,::,,,,,,, ,.:,....,,,:,,,==##+=%%===#%%%%
%%==%%%*%%***%%%%%%%%%%=**#*=**+;, ...,,,;;::;,,,,.,,,.:,,. ..,,.,,.,,,;:,,,,::;;%+++***=#%%%
%%%%#=%%===*==%%%%%%%%#==#===#*+. ..,:,;:*=====**+.,.....;,,. .....,:,,:...:::;;*++*+%%#%%%%%
##======#%%%#%%%%%%%%#==##%%=%*:.......:;;*##%%%%%%%##=:.,. :,, . ,,. . .. . ...,,:.%%%%#*%%=#%%
#%%%%%#%%%##%%%%%%%%%######%%#+,.....::::;#%%%==#**+*+**;,,.. ::,..,,, .. ...,,,+*%%%%==#%%
=%%%%%=#=%%%%%%%%%%%####%###==*,..,,:;,,=%%%%%%%%###*+::,,:,..:::,..:,..,,. ...,:%+**===#%%
##====###%%%%%%%%%%%#%#%%%###=*,..,,;;=%%%%%%#%%%%%%##=****+**==*+;,.. ...,:#%%%*=#%%%
%%%%=#%%%%%%%%%%%%%#%%%%%%%#%%=:,,;:;=%%%%%%*+.;;+;*::,,;==###%%#=++;:;:,,::,.. ,,:#%**=*===#
%######%%%%%%%%%%%%%%%%%%%%%%=%%#:;**%%%%%%%%%%%%#*****==#%%%%%%%#=+++++***+++;;:... ..,,#%=+%%%*==#
%%####%%%%%%%%%%%%%%%%%%%%%%*=%#%%%=%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##=+;:. ... ,+++++,..,:**=#%%#====%
#%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#======*;++;:;+*+ .;+%%%%##%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#=*%%%%%%%%%%%%%%%%%%%%%%%%%%#####===############====,=%===%%========%
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%%%%%%%#=+;;;:*+*..;*#####%#######*%%###=%%=%%%#=%%#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%##=***++++*####%%####===+;==%%%#==*=*=%%**
%%%%%%%%%%%%%%%%%%%%%%%%%%%##=%%%#%%%%%%%%%%%%%%%%%%#%%%%%%##====***==########==**;===##%%%%%%**%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%=%%%%%%%%%%%%%%%###%%%%%%%#*+;;;;**====###===**+++=%%%%%%==*%%%*%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%===%%%%%%%%%%%%%%%%%%%%%%%%##=*++++**==*.,;=====***+++%%=%##==**%%%*=#=+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%****=#%%%#########%%%#%######=#==***************++***%%%%===#++++++###;
%%%%%%%%%%%%%%%%%%%%%%%%%%#=****+%%%###############%%%%%%%####===*******+++++++#%%%**==*%%%#+++##%;#
%%%%%%%%%%%%%%%%%%%%%%%%%%%=*%%%%%%%%#####################=======****++++++++*%%%%%%***%%%%=+;%####+
%%%%%%%%%%%%%%%%%%%%%%%%%%%=**%%%%%%%####=======*====*****+****+*++++;;;;;;;+++=%%%%;+%%%#%++;;;:%#;
%%%%%%%%%%%%%%%%%%%%%%%%%***+++#%%%%%###==***++++;;;;:::::;;;;;;;::::::::;;;;#%#;;;;;;;;+;;;;;;:%#=;
%%%%%%%%%%%%%%%%%%%%%%%%%%*+#+*%%%%%%%###===**++;::::,,,,.,,,,,,,,,,,::::==##%;+#%%#%%;;;;;;*####+;:
%%%%%%%%%%%%%%%%%%%%%%##=%%%%%%%%%%%%%%%####====***+;:,,,,,.......,,,.,:::*###;+#%#:;;;;+#*:;===::::
%%%%%%%%%%%%%%%%%%##*#%%#%%+++%%%%%%%%%%%%#####===***+;;::,,,,.,....,,;*====:::::####==###====*###=#
%%%%%%%%%%%=+;;:;;+;:, ..,,,:::#%%%%%%%%%%#####==**+;::::,:,,,::::::,**,,.,.**==;:,:##=+;::;:*=#:::
%%%%%%%%%;::::,:,.:::,,,.....,,%#%%%%%%%%%######==**++;;;;::::::;;:::, .,;:,,:#=####,,,::,::
%%%%%%%#;::,,....,.,.,,,.,,.,:####%%%%%%%%######===***++;;;;;;;;;;;::, ..,,,,,,,:,,
%%%%%%:,,,... . .... ,..=####%%%%%########=====***+++;;;;;;;:,,. .,:+*::