robpre / lolapichallenge Goto Github PK
View Code? Open in Web Editor NEWProject Name
Project Name
dgnrAEIUVHAE8920T9
enough to flesh out a basic card
linked: #9
build card styling and prettiness. Possibly creating an Angular directive to display the card.
Using card data display appropriate resources.
We will need to work out how to resolve static resources. I think we need to write a resource to map champions to images. https://developer.riotgames.com/docs/static-data
example data: https://github.com/RpprRoger/lolapichallenge/blob/generoatrs/scripts/parse/card.js#L50
To connect two clients together, and maintain game state.
If too much work just poll game states
npm package socket.io may be a good idea.
Server->Client: Your game is ready
Client->Server: Ready (x2)
Server->Clients: Round start (interval 60 seconds, type: preround)
Client->Server: Ready (x2)
Client->Server: Set card to turret (1-1, 1-2, 1-3, 2-1, 2-2, 2-3) etc
? Client->Server: Terminate round early ?
Server->Clients: Round ended
Client->Server: Ready (x2)
LOOP:
Server->Clients: Round start (interval 60 seconds, turn: blue)
Client->Server: Ready (x2)
Blue->Server: Set card to turret( 2-3)
Blue->Server: Attack turret (1-1)
Server->Clients: Attack start
Client->Server: Ready (x2)
Server->Red: Send blue card + result
Server->Blue: Result
Server->Clients: Round ended
Client->Server: Ready (x2)
Server->Clients: Your game had ended
socket events
Client->Server: find me game
Client2->Server: find me game
Server->Client: Your game is ready
Client->Server: Ready (x2)
so it connects to #38
Bring two clients together with cards using simple auth to manage clients
Parsing to be done in components passing a stream between each component.
Preferably the first component (retrieval of URF game ids) to take a date range parameter
Fixture each of the components for development/debugging
Ant's laptop is really bright on the screen and stuff so yeah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.