Coder Social home page Coder Social logo

jalijuhola / laravel-browser-game Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 3.0 1.31 MB

Laravel based browser strategic game (User: [email protected] password: admin)

Home Page: http://ht.jalijuhola.xyz/login

PHP 8.09% ApacheConf 0.04% JavaScript 87.40% Vue 1.66% HTML 2.81%
php laravel vue axios javascript

laravel-browser-game's Introduction

Build Status Total Downloads Latest Stable Version License

Laravel Browser-game

This project is currently under consruction.

Routes

Currently all expect one route are HTTP request routes. Only route which works with axios(AJAX) is /cityView.json. Admin routes are under work.

Features

  • There is currently only one tribe with
  • Training troops (Jobs are not queued) on server so this is based on site referesh and unix time from troopqueue table.
  • Battle simulation (It's just very simple calculates amount of troops in each side and removes troops 1:1 according to attackpower).
  • Gameworld size is modifiable in config/gameworldConfig.php
  • There is currently only three kind of access rights (user loggedIn, user account verified, isAdmin)

Starting

  • Create .env file there (like example.env).
  • Site uses npm so when starting site you need to download dependencies (npm install)
  • Site uses little bit vue.js so you have to also compile vue with npm run dev.
  • gameworld is currently generated by database seeder so php artisan migrate and php artisan db:seed
  • (currently under construction) listen cron with php artisan work.

laravel-browser-game's People

Contributors

jalijuhola avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-browser-game's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.