- Add SSH keys to github or Zack's machine
git clone https://github.com/zackgomez/grandeur.git
- (on Linux install node-legacy on Linux http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu)
cd grandeur
npm install
npm run start
grandeur's Introduction
grandeur's People
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.
Display current player and turn number
Like it's turn 5 (everyone is taking their 5th turn)
and it's currently Zack's turn
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
Show who won.
Add the total points for each player somewhere on the UI
Figure out a good spot for it
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.
Render nobles
Enforce discarding chips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.