|
mm.. it's not a game programming question...
it's about the best and easiest supporting app for a game which is very much like a board game without board, but with dice, players and imagination....
but require a tiny bit of preparation with a pen and paper, or maybe a word document...
|
|
|
|
|
Check out my SPA (to see if I know what I'm talking about): Core Competencies[^] *
*With any "modern" browser. I do not support IE and older browsers.
It allows you to track Business-related Core Competencies (with personal notes) and does not require you to sign in or anything. Just try it out on your phone or computer and it runs exactly the same.
Here's my input:
If you have only a few values to store then use localStorage[^] (client side). it's extremely easy and allows you to save up to MBs of data. Probably enough for you.
If you have more data to store then store it using IndexedDB[^] (client side again), but allows you to do SQL type queries on data. But also more complicated API.
If you have more data than that and you need it to be updated in realtime then use Firebase.com because it is simple. But simple means a lot of up-front learning.
For what you're doing localStorage will probably serve you just fine.
|
|
|
|
|
cool SPA!
I got 0 data to save... it's design (a spaceship) and forget!
I got 210 and tech that I have to hard code the data for though... :/ (doing it right now in C#...)
what did you use for it?
I don't want to write a metric ton of js
I guess TypeScript would be alright...
Might go for desktop app.. since I realize I am already having one (to do the maps..)
(I forgot about it since.. I gave up.. and then thought of restarting it with less feature and then.. got delayed a bit by the word document and forgot about it)
|
|
|
|
|
Super Lloyd wrote: cool SPA!
Thanks very much, I appreciate that.
Super Lloyd wrote: what did you use for it?
I used Bootstrap UI[^] (buttons, etc). They create a nice uniform styling that creates consistency.
If a person takes some time to learn Bootstrap it can become similar to what Microsoft did for us in the past where they created the controls and you just simply / blindly accept those controls. It's a nice way to just forget about making buttons and drop lists etc look right.
I did write this in JS but that's because it didn't take a huge ton of JS. I like JS ok since I've worked with it for a long time. I would much prefer c# (because it is the best language ever created). I will examine blazor at some point.
|
|
|
|
|
Ha yeah, Bootstrap!
I was good with it once.... Kinda Rusty now... but thanks for the reminder!
I was doing Bootstrap and TypeScript back then! (then was 2013! )
mmm... going to do my Excel to C# port first of the tech lists...
And wondering now if I should C# to TypeScript it (admitedly easier, might even use C# 9 source code generator perhaps?) and Bootstrap it... mmm....
|
|
|
|
|
My apologies. I completely misunderstood your OP.
|
|
|
|
|
No worries at all!
|
|
|
|
|
Of course, I was busy with something else and almost forgot, thanks Griff for reminding me.
Reduced musics cause sadnesses, drunk daily game (10)
|
|
|
|
|
is sadnesses a correct word?
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
Yes it means "depressed Scottish Loch Monsters".
It's not used much.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ok - we surrender!
What was it?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Reduced musics CDs (Compact Discs)
Sadness(es) Sorrows
Drunk Anagram -> Crosswords (our daily game)
|
|
|
|
|
It's harder than it looks to write these, isn't it?
You are up again tomorrow!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
That's a nice way to politely tell what a failure my attempt was
I try harder tomorrow.
|
|
|
|
|
It wasn't a failure ... just nobody got even close ...
I'm sure tomorrows will be a lot better!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
@Rage
You won on Friday, remember?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Damn, I forgot to prepare and now stuck in meetings - gimme another 30min.
|
|
|
|
|
Now, I just want to remember once more the interesting facts I discovered in the misunderstandings of the forgotten past. you'll find this in the OP's comments on an OriginalGriff response here: [^] ... for me, this is surreal poetry
Having just re-watched Sergei Parajanov's 1965 "Shadows of Forgotten Ancestors" [^], I am hearing these words set to Carpathian Hutsul dorian scales, as goats are bleating.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
modified 16-Nov-20 7:26am.
|
|
|
|
|
Reading the discussion I may even know what he means
Not sure what that says about me though
|
|
|
|
|
I think i understand him too. Some of it i can chalk up to language, but not the sort of lackadaisical attitude toward facts. That I think is something else. I mean, I'm not even judging, as I can relate, but I try not to post questions here when that happens, much less argue about the answers I get.
Real programmers use butterflies
|
|
|
|
|
He's actually right, I think.
You say "The proper way to request that a disposable object dispose itself is IDisposable.Dispose()."
But his point is that while TcpClient is IDisposable, you can't call Dispose on it.
When you try, you get the message "TcpClient.Dispose(bool) is inaccessible due to its protection level"
Like I said, in my answer to his question, you can either cast the TcpClient to an IDisposable and call Dispose or you can call Close, which calls Dispose internally.
The Dispose method is available in .NET 4.7.2, but not in 4.5 and earlier (haven't checked versions between those).
So this guy may be right that it's a bug... In any case, he's right that he can't simply call Dispose() despite it being an IDisposable
|
|
|
|
|
That's why I said IDisposable.Dispose() and not simply Dispose() . What I didn't think I had to explain was that some classes hide interface members and expose a Close() method instead. Maybe I should have.
But IDisposable.Dispose() always gets you there, because the method is *not* private, it's simply hidden but maybe that's just how i look at it - the big difference being you *can* get to it because it's on a an interface that itself is publicly accessible
Real programmers use butterflies
|
|
|
|
|
Yeah, but when I see stuff like that, it's mostly that ((ISomeInterface)someInstance).SomeHiddenMethodOnThatInterface() throws a NotImplementedException.
Which would be extremely bad design in the case of IDisposable
I guess this guy's knowledge of OO is not as firm as yours, so when you say he should call IDisposable.Dispose() he's just think "but I just said I can't!"
It's weird though, to hide Dispose like that.
So I get his confusion, I get why he thinks it's a bug, and I get how he gets frustrated with a bunch of guys telling him he should just call IDisposable.Dispose because "it's there!"
|
|
|
|
|
One of the things I picked up in my decades on this rock is that the right questions are infinitely more valuable than the right answers.
I think that applies here. You're the first person I've heard who may have made sense of what he was asking.
When I said I understood earlier I meant specifically about that "past forgotten memories" thing or whatever. Not the question. It seemed to me he was looking for a framework method to free objects.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: You're the first person I've heard who may have made sense of what he was asking. The result of dealing with end-users for over a decade!
Seriously though, people rarely ask directly what they want to know.
|
|
|
|