Aktyn / ZeroG-Ball

Logic game with simple physics engine. Project created for learning purpouses.

Home Page:https://dronidev.pl/zerogball/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZeroG-Ball

Logic game with simple, custom physics engine based on elastic collisions. Game has been created for university project.

How to setup project

  • Make sure to have nodejs, npm and git installed on your system
  • Clone repository:
    git clone https://github.com/Aktyn/ZeroG-Ball
    cd ZeroG-Ball
  • Install necessary dependencies
    npm install
  • To open app in development mode run:
    npm run dev
    (make sure port 3000 is not in use)
  • To compile app into production ready code run:
    • Windows:
      npm run w:publish
    • Unix systems:
      npm run publish
    Files will be generated inside dist folder
  • To display list of all custom project options run
    npm run
    Or take a look into package.json, section: "scripts"
  • There is also a server-side code that you can run with:
    npm run server
    Server is used for storing user's best results.
    By default, client is connecting to server on same hostname.
    In order to use custom host address you must change the window.SERVER_HOST value in index.html.

Some screenshots

About

Logic game with simple physics engine. Project created for learning purpouses.

https://dronidev.pl/zerogball/


Languages

Language:JavaScript 88.9%Language:CSS 10.9%Language:HTML 0.3%