sigurdsvela / loveletters Goto Github PK
View Code? Open in Web Editor NEWA command line version of the little known card game "Love Letters"
License: GNU General Public License v2.0
A command line version of the little known card game "Love Letters"
License: GNU General Public License v2.0
With the current structure one can't let the game flow.
Not possible to call methods in a loop because there is now
good way of waiting for input.
Need to implement action listeners and act accordingly.
Fix so that one of the previous winners start the new round.
Need some way of hiding what the card effects for Bots do. For instance if a Bot plays priest, when one in priest.run() says cardOwner.getGame().getView().setInformation(card.toString()) when showing the card, this card also get shown to the local player.
As a temporary fix I've added an abstract method in player: setInformation(String msg);
Which in the BotPlayer class is remains empty while in LocalPlayer class calls getGame().getView....
By doing this one can in priest call: cardOwner.setInformation(...) upon showing a card.
Ideas?
When using mouseEntered and mouseExited, mouse exited will only trigger if the mouse exits the View, but does not exit that views parent. If it does, only the parent of the first view will receive the mouseExited event. This causes some major buggyness.
Enable the fullscreen button on Mac OS X
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.