joanb / chessclockswift Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I think it would be nice to remove this large Pods/ directory from the repository.
If we do it, then we need to remove .xcworkspace file too. if so, then anyone who wants to clone this repo should then run pod install
. Cocoapods will install all necessary pods and generate .xcworkspace.
When paused, give the chance to resume the clocks.
If the game was paused when whites were playing, it should be resumed as whites turn, and the same applies for blacks.
This button will be added without behavior in #9
Currently, both clocks are disabled when pause button is clicked, but only one is clickable (the one who was ticking when the pause was pressed).
This is a UX problem that may confuse the user.
The current ticking clock should stay in active status (AKA no alpha applied) when pause button is pressed.
Instead of having a big viewmodel with all the parameters of the view, it would be nice to render States (this could be a enum) with the params needed for that state only.
Posible States (debatable):
Hi, just out of curiosity. Is there any particular reason why we use RxSwift but we're not using RxCocoa in the viewcontroller? :)
Expected behavior:
The Reset
Button is initially hidden.
When the game is paused, the Pause
button is hidden and two new buttons are shown:
Logic for these buttons will be addressed in other issues.
The idea is to remove the top and bottom buttons (not only they are unnecessary, but the top player see the button upside down).
The click behaviour should be implemented by the clocks (click on one clock to change the turn)
The observable.merge is not merging any observables right now, so it can be removed from ClocksPresenter.
The interval observable is needed, it's enough to delete the Observable.merge line and its respective closing parenthesis
The pause button should be shown as disabled when it's pressed
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.