Comments (12)
I like the idea of making Load flexible to recognize either notation and load as appropriate.
I can work on that.
Of course, the real value would be to let you reload a TPS (or PTN) into an ON-LINE game, and resume play at that point.
Scenario: two people are playing a beautiful game and one of them needs to leave for a while. They don't want to abandon the game, so they download a TPS or PTN. Then when they are ready to resume, one of them creates a New Game, their opponent joins the game, and then one of them does a Reload of the saved file and it gets pushed to the other player and play resumes.
I don't plan to make any enhancements to the server code, or the client-server protocol. So someone else will have to work on supporting resume of an on-line game.
from takweb.
I would wait with that kind of change until chaitu finished his semester (it's just a few days now).
He will probably give new directions for playtak anyway. Maybe he will tell us that he plans for profiles and user-interaction. Then loading a game could actually be a much different process alltogether.
from takweb.
Thanks. I won't undertake that now.
from takweb.
The idea of being able to load a PTN to review a game locally would be nice. But I think resuming an online game from PTN isn't such a good idea because it'd require changes to UI most of which would be non-intuitive.
I think correspondence games, being able to add time to opponents' clock and games with time increment after every move would make this unnecessary anyway.
from takweb.
I agree. The core feature would be restoring the saved PTN, since that is the output format downloaded after a game. To resume previous games seems a feature for when the platform is further advanced. It would also allow to 'branch' games by playing from a specific game state, but in a different direction. This would give a lot of interesting information on game states. But again - Feature for another day...
from takweb.
Does a correspondence game mean that the server will be able to maintain game state indefinitely and that a player will be able to reconnect back into that game at any point later. Or is that not what you are thinking of?
from takweb.
Ya, thats what I had in mind for correspondence games.
from takweb.
I thought about writing a quick-and-dirty PTN parser which would output a TPS string, optionally up to a certain play state. This would obviously not solve the mentioned problems regarding time and game state, but it might be a start. Anyone interested?
from takweb.
hmm... from the standpoint that during the weekend I (assumably) will work a great deal on my client anyway (first to catch up with the master, then to do some long intended upgrades) I can probably go about writing an actual PTN parser that retains the steps. Would be a bit wasteful to invest any work in a quick fix. Also knowing kakaburra (a bit), quick (and dirty) solutions are not his style.
from takweb.
That is probably correct. I'll do the reasonable thing and familiarize myself with the existing client codebase. Maybe I can find some other things to contribute.
from takweb.
Be aware, that Chaitu plans to modularize index.html which currently holds most functionality server side. Things might shift a bit before they settle somewhere. Also a similar refactoring is planned for the server, though I do not know how immediate he plans to do that.
from takweb.
I'll keep that in mind. Getting to know the style can't be wrong, though. Thank you, TreffnonX.
from takweb.
Related Issues (20)
- Password Reset HOT 2
- Request: Bot Meta data in PTNs HOT 2
- Feature Request: populate scratch board with PTN. HOT 2
- Doesn't need websockify? Needs url! HOT 1
- Board is off center HOT 7
- OR checkbox for history HOT 1
- Game Chat: "Server says: You need to be in the room" HOT 2
- Name highlighting is broken HOT 5
- Private chat is opened automatically, but only on first message. HOT 2
- Automated bot evaluation HOT 1
- Bug: Load from TPS broken HOT 1
- Feature Enhancement: Instantiate private room / chat with any player online HOT 2
- Alert on Player Name being written
- Link to ptn.ninja broken HOT 1
- Canvas Element not displaying correctly on Chrome HOT 2
- Add github topics?
- iOS/Android app icon for mobile home screen bookmarks
- Ping timers not properly set
- Windows 10 Scale and Layout changes clickable area
- Feature: Replay/Rematch Request Button
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 takweb.