Skip to content

shijianzugouniai/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
git clone  https://github.com/shijianzugouniai/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

About

Hextris game written with vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.4%
  • Vue 28.9%
  • JavaScript 2.0%
  • HTML 1.7%