joesingo / jte Goto Github PK
View Code? Open in Web Editor NEWJourney Through Europe
Journey Through Europe
A separate file can contains factory methods for creating sprites as grid.js objects:
Game object can have sprites object containing fields: player_flags
, located_cities
, travel_cities
to easily manage clearing display on update, toggling city locations, hover icons etc...
Re-visiting one of you cities increases your score (except home city)
Clicking a card in your hand should toggle highlighting the selected city.
Viewport should be translated so that city is closest to the centre of the screen without area beyond the edge of the map being shown
Also add icon to toggle showing all cities at once
For travel actions a circle should be drawn over the map at the city:
Cards should be more shaped like a playing card (perhaps with a picture as well as city name?) and arranged along a curve (cf hearthstone)
Currently each game is just stored in memory which is not a good idea on a public facing server. Instead, each Matchmaker
could be pickled to a file after perform_action()
in server.py
completes.
This would also make it easier to delete old games (e.g. shell script to look at last modified time and delete accordingly).
Add a way of displaying a popup dialog:
The status returned by get_status()
in the Game
class should be cached and timestamped whenever perform_action()
ends.
The client will then keep track of it's most recent timestamp to detect when something has changed.
Add an icon to show the flight plan above the map
Dice points could be shown as a picture of a die in the top right
Certain messages from the message log (all of them?) should be shown like a toast notification in Android
Same visual appearance as message log, shown at top of screen and automatically hidden after some time.
Used for:
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.