Git Product home page Git Product logo

contrechess's Introduction

ContreChess

I might be interested in using gulp-uglify for minification.

If so:

$ npm install gulp-uglify --save dev

then in gulpfile.js

// Other requires
var uglify = require('gulp-uglify');
var gulpIf = require('gulp-if');

gulp.task('useref', function () {
  return gulp.src('src/*.html')
  .pipe(useref())
  // minify only if it's a JavaScript file
  .pipe(gulpIf('*.js', uglify()))
  .pipe(gulp.dest('dist'))
});

I might also want to use gulp-cssnano to do the same thing for css

Contre

======

  1. Every user is listed in the main window a. Except for the current user b. The list is grouped by rating c. The list includes the player's rating
  2. A user makes a game request to another user (potential loop) a. called a "solicitation" b. encrypted with the receiver's pgp key i. and my key c. specifying how much the game should cost d. specifying my current public key e. specifying the solicitors public key
  3. The receiver accepts a. adding the receivers address b. the game begins
  4. The receiver rejects
  5. The receiver counters the cost (potential loop)
  6. The solicitor accepts
  7. The solicitor rejects
  8. The game begins a. the game gets an identifier b. random user to color assignment c. game has chat direcory/files for participants/moderator/admin d. the acceptor's key is added d. the acceptor (either receiver or solicitor) creates the funding address (beginning with "3"). (potential loop) e. the redeem script is saved to the game
  9. moves are made a. appended to game file
  10. winning position is determined a. game result is appended to file
  11. statistics are updated
  12. transaction is created to winning address/moderator/admin a. no disputes i. minimum required participants sign a raw transaction and broadcast b. a dispute or draw i. dispute ii. draw

Directories

  • site (main) 10MB

    • data/ |- users/ | |- | | |- content.json | | |- user.json | | |- avatar.png
  • site (games) 10MB

    • data/ |- games | |- | | |- content.json [multi-signers or my instgance writes to these files?] | | |- payment.json | | |- moves.json (chess.js) | | |- chat/ | | | | - epochTime.address.json/
  • site (solicitations) 10MB need a policy to delete these periodically

    • data/ | |- (acceptance deletes offer, creates game, counter deletes offer, creates new offer) | | |- offer.json currency amount solicitor solicitee

contrechess's People

Contributors

mishfit avatar

Watchers

Andrew Kidoo avatar  avatar

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.