Giter Club home page Giter Club logo

valta's Introduction

Multiplayer 4X strategy game

dev start

yarn install
yarn data
./node_modules/.bin/knex migrate:latest --env index-server-development
./node_modules/.bin/knex migrate:latest --env game-server-development

# each in different shell
yarn index-server
yarn game-server:dev
yarn client:dev

generating a terrain svg

./node_modules/.bin/ts-node src/Common/Util/HexSvg.ts -C '#ffffff' -c '#000000' > thing.svg

license

All code and assets are licensed under the MIT License (Expat) unless otherwise noted.

valta's People

Contributors

jaakaappi avatar jgke avatar minttu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

playfloor

valta's Issues

World event notifications

Push some stuff to the notification queue

  • Unit waiting for orders
  • Building complete
  • Upgrade complete
  • Diplomacy stuff

Blocked by #25

Client: error toastr

For situations when we aren't in game so ingame notification / message system isn't appropriate. Such as connection to game server or index server failed.

Notification queue

Generic mechanism for server to send notifications via gamestate to clients

Population system

  • Population eats food
  • Excess food brings more population
  • Starvation if there's not enough food

Map editor

  • Should be able to create a completely custom map by placing hexagons on a hexagon grid
  • Ability to edit said maps

Way to authorize other device

For example some button in UI to create link for the same id/secret. This can be then shared to a mobile device to continue playing there. Duplicate sessions need to be disabled on some level.

Diplomacy

Peace is default state, in war, truce with duration.

Define basic RPCs

  • Lobby creation / joining / leaving
  • Game start
  • Faction management (upgrades, production queue)
  • Unit movement
  • Turns

Upgrade system

Spend upgrade points (science I guess) to unlock new upgrades.

Backstory

Decide game art/story style, fabricate factions, units, buildings, techs

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.