Giter VIP home page Giter VIP logo

grandeur's Introduction

grandeur's People

Contributors

brockajones avatar robertkarl avatar zackgomez avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grandeur's Issues

Make PlayerView prettier

It needs some borders or background colors to delineate the area.

If it's my player view it should show a space for my hand regardless of whether or not I have a hand

If it's for an opponent it should show just a count of cards in their hand or show their cards face down.

Dummy user should be able to make a move somehow

  • Create a game with a dummy user
  • Attempt to make a move for the dummy user
api error: [Error: not your turn] Error: not your turn
    at Game.addAction (/home/rk/grandeur/game.js:337:11)
    at Object.handle (/home/rk/grandeur/api.js:68:10)
    at next_layer (/home/rk/grandeur/node_modules/express/lib/router/route.js:103:13)
    at Object.ensureAuthorized [as handle] (/home/rk/grandeur/api.js:44:12)
    at next_layer (/home/rk/grandeur/node_modules/express/lib/router/route.js:103:13)
    at Route.dispatch (/home/rk/grandeur/node_modules/express/lib/router/route.js:107:5)
    at c (/home/rk/grandeur/node_modules/express/lib/router/index.js:195:24)
    at param (/home/rk/grandeur/node_modules/express/lib/router/index.js:270:14)
    at param (/home/rk/grandeur/node_modules/express/lib/router/index.js:282:16)
    at Function.proto.process_params (/home/rk/grandeur/node_modules/express/lib/router/index.js:298:3)
127.0.0.1 - POST /api/game/game_3/add_action HTTP/1.1 400 13 - 3.078 ms

To resolve:

  • Have the CPU make a legal move
  • Allow the human player to make a move for the dummy

Disable server rendering

It's a huge pain in the ass. Development will be easier without it and we don't care about TTI

Noble selection + Chips discard in ActionPanel

  • create detail view
  • hook into action store (validate selection based on request type)
    • if request type is noble, shouldn't be able to click a card or a chip.
  • there's an example of this that Zack committed already

Fix nobles

Due to the way nextTurn gets called after each SYNC, multiple nobles are being awarded as soon as they are able.

Look at this PR and address.

Enforce discarding chips

At the moment the game does not care if the user is over 10 chips.

See game.js

To resolve:

  • Discard some chips for the user
  • Allow the user to specify which chips to discard ;)

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.