Veronika-dev / teeter-totter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

teeter-totter

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Task of the game

On the right side of teeter totter, there will be randomly placing objects with random weights. On the left side, there will be nothing but there will be objects falling from top to bottom. You can manage those object’s placement by arrow keys to keep teeter totter on balance.

  • Your task is keeping this balance as much as you can.

Rules of the game

  • The maximum bending percentage is %30, if it exceeds this limit, simulation ends.
  • If there is extra 20kgm(10kg * 2m) on the one side, simulation ends immediately.
  • Distance from center will be considered as factor when placing the objects to keep teeter totter on balance.
  • The drop speed of boxes may increase as the time goes on.
  • The width of teeter totter is 10m.
  • There are three different object type with different weights from 1 to 10kg. Triangle, circle and rectangle. The size of the boxes is determined by its weight.
  • On the left side, only falling objects can be placed. You can control objects with arrow keys. The placement of objects should keep balance as its best.
  • On the right side, there will be randomly placing objects, which created randomly and placed randomly.

If you need visual demonstration

  • You can start Demo mode. It'll help you to understand this game.

Good luck!

About


Languages

Language:Vue 61.1%Language:TypeScript 30.2%Language:JavaScript 3.9%Language:SCSS 2.6%Language:HTML 2.2%