8000 GitHub - mawrkus/cosmic-snake-game: 🕹️ A game & music experiment in Vanilla JS, HTML & CSS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mawrkus/cosmic-snake-game

Repository files navigation

🕹️ Game & Music experiment: a Snake video game

A snake game built with Vanilla JS, HTML and CSS.

A quick note...

The code is as-it-is: no linter, no tests and, in many places, the inconsistencies of experimenting with several design patterns and strategies to write a video game. The "game-objects" folder is my 1st attempt, the "component-based-entity-system" folder is my 2nd attempt. Also, the code runs at 120fps on my M1 Mac. You might have to modify the initial snake speed if the frame rate is slower on your machine.

🚀 Start

npm i && npm start

📸 Screenshots

🎶 Music

Music composed around 2004 by firestorm aka "tempête de feu", all rights reserved.

⛩️ Architecture: core concepts

Game Objects (1st attempt)

...

Component-based entity system (2nd attempt)

💎 Resources

About

🕹️ A game & music experiment in Vanilla JS, HTML & CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0