8000 GitHub - libasoles/vue-js-snake
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

libasoles/vue-js-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

First of all, you can play the prototype demo here.

Demo

Basically, it's a Vue.js exercise to try out componentization.

Design decisions

  • state is all managed in the main component
  • components emits events
  • there's a game loop, that triggers an update chain

How to run?

As usual, install dependencies:

yarn install

And run:

yarn serve

Next step

A multiplayer game with socket.io, that's a variant of the snake. Meet Tron:

https://www.youtube.com/watch?v=3SsRP2_fr3w&t=40s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0