GithubHelp home page GithubHelp logo

alcalyn / openhex Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 3.0 21.32 MB

HTML5 game inspired by Slay.

Home Page: https://alcalyn.github.io/openhex/

License: GNU Affero General Public License v3.0

HTML 0.89% CSS 2.50% JavaScript 96.30% Makefile 0.31%
github-evacuee html5-games

openhex's Introduction

OpenHex

Build Status Translation status

HTML5 strategy game inspired by Slay.

Demo here: https://alcalyn.github.io/openhex/

Screenshot

Install

Requires git, NodeJS >=7.6 and NPM >=5.7

git clone [email protected]:alcalyn/openhex.git
cd openhex/

npm install
npm start

Then go to http://localhost:3000

Using Docker

If you don't want to install nodeJS, and have docker ready:

git clone [email protected]:alcalyn/openhex.git
cd openhex/

# Install project
make install

# Run project
make

Then go to http://localhost:3000

Contribute

See CONTRIBUTING.md for more information about developing on project, translating OpenHex...

License

This library is under AGPL-v3 License.

openhex's People

Contributors

alcalyn avatar automcoding avatar mattipv4 avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openhex's Issues

Entity highlight is never removed

Reproduce:

  • Start a game
  • Take an unit
  • Place it on a defended hex
  • The defending entity becomes red with an alert message
  • Then wait 10 seconds or place unit elsewhere

Expected:

  • The highlighted unit is no longer highlighted

Actual:

  • Still red until another unit highlights

Stop the game when win or lose

Currently, when we have conquered the full world, nothing happens.

The game should display an ending screen when there is only one player (player or IA) still alive.

Coop campaign

Create a campaign playable with a friend.

It is a multiplayer campaign, and we need our friend to pass levels

Campaign

Create a campaign, mobile-friendly way to play.

It could be a list of games to play, difficulty increasing, including a scenario...

Multiplayer

Allow to play with friends.

Lobby management:

  • Automatically join a game
  • Create a game
  • Display current games
  • Join a game...

Game ending screen

When the game ends on a win or loss, currently, the game just stops.

There should be a winning/losing screen to display at least who won the game, and a way to go back to create a new game.

Capitals not merged when joining kingdoms

I have noticed that capitals sometimes aren't merged. I don't recall doing something unusual when it occures. This time, the kingdoms merged when the guy with the purple arrow moved to that hexagon from the upper kingdom:

openhex

Game feels laggy

As soon as we are on a big map with few units, game already feels laggy when dragging it.

We should be able to drag map on bigger-than-big maps without any lags.

IA is boring and too easy

The current IA is a simplist algorithm that capture random hexs, never upgrade units and often crashes so skip its turn. It has been developped for development testing.

It should have a better IA, or maybe, allow to load IA from external source so that anyone can develop an IA and let others load it like a plugin.

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.