Tools for analyzing game states in Scotland Yard.
scotlandyard's Introduction
scotlandyard's People
scotlandyard's Issues
Enter a sequence of transit steps
First-pass proposal -- UI should display:
- Five buttons: Add Taxi, Add Bus, Add Underground, Add Wildcard, and Clear
- An initially empty div containing the current sequence of transit steps
Notes:
- An empty sequence of transit steps is valid -- it should simply result in the last-known position(s) being highlighted on the map.
- This needs to support "any transit" (wildcard), which, for Mr. X, can include taxi, bus, underground, and river.
Select a single last-known position using the mouse
Current behavior: when the user selects "Specific position", a text box appears, and the users enters a number by typing.
Alternate proposals:
- Selecting "Specific position" should also cause a button to appear ("Select via map"?), which, when clicked, causes the UI to enter a state where the next-clicked location will be copied into the "Specific position" text box.
- Whenever any location is clicked (regardless of UI state), the radio button is switched to "Specific position", and the last-known position is reassigned (Pros: slightly less "stateful", Cons: less discoverable UI, easy to make an accidental change)
- Right-clicking on a map location offers a custom pop-up menu with the option to "set this location as the last-known position".
I'd guess that option 2 would be the easiest to implement as a first pass.
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.