Skip to content

A simple age old classic version of snake game. You can control the snake using the arrow keys and try to eat the food and increase your score. The game was originally made in python, but was later converted into web assembly using pygbag (a python library).

License

Notifications You must be signed in to change notification settings

HasanYahya101/SnakeGame-WASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game (Python + Web Assembly)

Introduction

A simple age old classic version of snake game. You can control the snake using the arrow keys and try to eat the food and increase your score. If the snake hits himself or the boundary wall, user dies and the game is restarted. The game was originally made in python, but was later converted into web assembly using pygbag (a python library). The final folder was then deployed to github pages and can be tested and played there. Just go to the link given in repo and you can play the game.

Requirements

Python and it's libraries pygame and pygbag are required to run the program. You can install them using the following commands:

pip install pygame

pip install pygbag

Preview

Screenshot 2024-06-13 023011 Screenshot 2024-06-13 023024

About

A simple age old classic version of snake game. You can control the snake using the arrow keys and try to eat the food and increase your score. The game was originally made in python, but was later converted into web assembly using pygbag (a python library).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages