Comments (7)
š
from netrunner.
Hi, I like the idea and will add it to the TODO list. The current development focus on the game engine so it might take a while before it's done unless someone takes it up. In the meanwhile you can try this chrome plugin that provides the functionality https://chrome.google.com/webstore/detail/netrunner-lookup/falbpbbdomlkdjlfippfjopgihdekanf?hl=en
from netrunner.
Great!
Thank you very much.
2014-11-13 16:20 GMT+00:00 Minh Tran [email protected]:
Hi, I like the idea and will it to the TODO list. The current development
focus on the game engine so it might take a while before it's done unless
someone takes it up. In the meanwhile you can try this chrome plugin that
provides the functionality
https://chrome.google.com/webstore/detail/netrunner-lookup/falbpbbdomlkdjlfippfjopgihdekanf?hl=enā
Reply to this email directly or view it on GitHub
#4 (comment).
from netrunner.
I'm trying to implement this, but I have no knowledge about om/react etc. If someone want's to help me, I described my problem here: #328
from netrunner.
I'm making progress.
You can take a look here: https://i.imgur.com/HWxlWG7.gif
or see my branch here: https://github.com/DominicKexel/netrunner/tree/cards
Currently I pass a string like [Paige Piper|08004]
to the client, so the client knows what URL to display.
I would like the players to be able to also simply type the card name, and the preview should automatically work, as this would also allow me to let the server side mostly unchanged.
(Right know a user could type [Something|A random card id] to mess with the preview)
I was thinking of fetching all cards (just :title
and :code
) once from the database (maybe store it locally?) and then look up if I find a card title in the message once it gets displayed, and attach the event handler with the correct card code.
Thoughts?
from netrunner.
All the cards data are already fetched on init and kept in memory on the client side. You can access the cards array with (:cards @app-state)
.
Based on the card name you can look up the card code to display the card image. Have a look at cardbrowser.cljs
as an example.
from netrunner.
Thanks, good to know.
from netrunner.
Related Issues (20)
- Jnet asked me to pay extra trash cost from Manuel Lattes de Moura for another card HOT 2
- Sometimes after a jua encounter occurs, error prompts start to spam forever on loop
- [EDITME] Please give a short description of your bug here
- Keros is fizzled if the corp derezzes an ice first
- Update all operations/event for NCIGS changes
- Wage Workers continues to be active when hosted on Cuppelation
- Make a pass through all the operations and events, and give them `do nothing` lines if they can't do anything
- Endless Hunger mistakenly break non-ETR subroutines HOT 2
- Image resolution not HD in game HOT 1
- Adrian Seis with access boosting cards breaks things ig
- Button start in the lobby is active, even though Iām the only player
- Invisible advancement counter HOT 2
- Hearts and Minds moving nonexistent counters
- "Trash Resource" from corp enables trashing a program
- Repeatedly kicked from my room and into the lobby
- EDIT:Nvm
- Give admin accounts broadcast access for tournament rooms HOT 1
- Trickshot giving +2 C and extra R&D access on remote run if redirected to R&D
- Zato city grid does not provide an opportunity to prevent the "when encountered" ability with airbladeX. HOT 1
- Couldn't install a unique resource over an existing one HOT 1
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.
from netrunner.