Coder Social home page Coder Social logo

gamenumber-gloss's Introduction

GameNumber-gloss Build Status

GUI for GameNumber on graphics engine gloss

GameNumber is simple game with AI players

Controls

Key Effect
Left Click do action on cell
Right Click centering cell
F2 save game
F3 load game
p pause \ unpause
s shield action
+ increase game speed
- decrease game speed

Termins

Cell value - number in cell

Strength in cell - sum of values of all surrounding owned cells (without the cell)

Rules

Game played on board of 64x64 cell.

Number of players - 16 : human player + 15 AI

When game starts, each player owns a cell with a value of 1.

Players get a free points for a time proportional to the sum of the values of its cells.

Free points can be used for:

  1. one point actions
  • conquer unowned cells if player has some strength in it
  • increase value of owned cells (up to 9, limited by strength)
  • conquer others cell if player has greather strength
  • charge shield
  1. two point actions
  • attack non shielded cell (cell value decreased by 1)
  • attack shielded cell (target players free points decreased by 1, when it lesser that -10, shield stop working)

Shield

Shield protects players cell from attacks for cost of free points.

Shield must be charged up to 128 and then activated.

Activated shield can be disabled to accumulate free points and then turned back on without spending free points.

Building GameNumber-gloss

''' git clone https://github.com/EPashkin/gamenumber-gloss.git git submodule update --init --recursive ./init-sandbox.sh cabal install ''' After build you can 'cabal run' or 'gamenumber-gloss' to launch game

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.