Skip to content

pengfeiw/vue-hextris

Repository files navigation

Vue Hextris

中文说明

An addictive puzzle game, written with Vue.js.

The design of this game come from here. It's interesting, I was attracted deeply when I first play this game. So I remake it with vue.js.

So far, I haven't copied enough, There is a little difference between origin version and this version, but the core is same.

Where to play

  1. online

You can play at here.

  1. local

Also play at local with serval steps.

clone repository:

git clone https://github.com/pengfeiw/vue-hextris.git

install package:

npm install

run serve:

npm run serve

open browser http://localhost:8080.

How to Control

  1. pc

You can control it with left、right and down arrrow keys or mouse click.

keys:

  • left arrow: rotate left
  • right arrow: rotate right
  • down arrow: speed down

mouse:

  • click on left part: rotate left
  • click on right part: rotate right
  1. touchscreen device

We Also support touch event, so you can play on you mobile.

  • touch on left part: rotate left
  • touch on right part: rotate right