Coder Social home page Coder Social logo

ssimeonoff / ssimeonoff.github.io Goto Github PK

View Code? Open in Web Editor NEW
72.0 72.0 37.0 43.85 MB

A webpage about the board game "Terraforming Mars"

Home Page: https://ssimeonoff.github.io/

License: BSD 3-Clause "New" or "Revised" License

HTML 70.66% JavaScript 12.58% CSS 16.76%

ssimeonoff.github.io's People

Contributors

ardearde avatar bledson avatar ja-jojnts avatar lkrjangid1 avatar mattpatt7 avatar nilsjor avatar prismtank91 avatar ssimeonoff avatar vincentneko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ssimeonoff.github.io's Issues

Awesome work!

Just wanted to pop in and say this is an amazing looking app! Just discovered it over on BGG. Really neat stuff.

Suggestion: Delete own games

Hi,

another suggestion: Ability to delete own games. E.g. I have mistakenly chosen the wrong corporations, because I checked old photos instead of the new ones. It would be very helpful if a logged in user could delete own games. If you fear manipulation you could implement a timer, so that users can only edit their games (e.g.) for a week.

Greetings!

New games won't submit

After I submit a new game to the database when I am logged in to my gmail account, the games don't show up in my personal stats. Is this an issue you are aware of?

By the way, I love the site! My friends and I use it extensively.

Sorting cards by MC up/down should refresh pagination

Setting the sort to MC UP/Down only sorts the visible cards. Only after modifying the filters/queries will it sort across all cards.

Reproduction:

  1. Go to the cards list https://ssimeonoff.github.io/cards-list
  2. In the content menu, set to sort by MC UP

We should expect to see a 0 cost card first, instead we see Search for Life (the cheapest card on the first page when sorting by ID). After adding and removing a filter it will properly show a 0 cost card first

Unable to login with a gmail

I've just discovered your wonderful stat tracker for this amazing game. I've been wanting to keep track of some stats of games I played and this seemed ideal. Having it linked to a gmail for personal stats seemed even better! However, I'm unable to do so. Whenever I click on the Google login, it provides me with options of the google accounts I'm logged in to. I select one of them (I tried both) and it just sends me back to the google login page. It's and endless loop.

I tried to get the error again that popped up regarding being unable to login - something to do with page reload - but I'm unable to make that error pop-up again.

Could not submit solo game score

Hi,

I recently tried to submit my solo game score, and when I tried to submit the score value became highlighted in red (like I made an error)

I didn’t poke at the source code, but is there score validation that would prevent a low score from being added. My solo score came to 58 points. I was playing CE, Prelude, and Turmoil. (Lakefront Resorts).

Thanks!

Comments

First, thanks so much for creating something so great.

In terms of the hand generator, I wish I could highlight cards so I could imagine what I'd pick. Also the ability to add preludes and change the number of corps would be good.

Thanks so much for your work.

Add Ability to Sort by Name or Cost

It would be nice to be able to sort the cards by alphabetical order (or reverse) and by cost (or reverse). Specifically we were curious how many Sponsorship cards cost X amount but didn't have an easy way to use the database for that. Thanks!

Can not submit game. Country undefined.

got undefined in console log from line main.js:54. For some reason the country field is undefined and firebase fails with the following error:
firebase.js:1 Uncaught Error: Reference.set failed: First argument contains undefined in property 'games-production.-LsgdF8B52m_9-RwYPJ_.country'

the country is Ukraine. Please add a check that the country is defined. If not maybe some default country can be used.

Thanks

Normalize Corporation Win Rates?

I just discovered this and absolutely love this project. My friends and I are obsessed with the game and we will absolutely enjoy this site.

When looking at the win rates for corporations, I noticed that sorting by percentage is somewhat deceptive. For instance, sorting the 5 player column currently puts Astrodrill on top with a 67% win rate which is 27% higher than Beginner Corporation at 40%. This makes it seem like the best choice for 5 player games until I looked and saw that it had only been played in 3 games.

Is there any way to somehow sort by some kind of normalized win rate such that it accounts for both number of games played and number of games won? Or if not, could that be added?

One other, unrelated question: where do you store your data and what keeps my login secure?

Donations

Like, seriously, this is an amazing repository. You've saved me a bunch of time figuring out how to do something similar, and I'd not have approached the level of professionalism. How is there no donation link for the project?

Any plan for modifying Ark Nova's UI?

Hi, I'm not sure whether this is the right place for discussing about the Ark Nova's page, since I find that subpage. I really like the design for tfm's page, thus I'm wondering if it's possible to modify Ark Nova's UI (to be similar with tfm)?
Since for now there're only scanned images, and tfm-like UI has faster loading speed, higher resolution icons, and copyable description text.
image

I took some time to make a sample card, for your reference. By the way, if there're any future plan for the project of Ark Nova, I could do you a favor.
Thanks a lot for this marvelous work!

C44 has incorrect Colony Icon

I notice that C44, TITAN FLOATING LAUNCH-PAD has an incorrect icon for the colony. It says "or spend 1 floater here to trade for free.) but the colony icon it shows is the buy colony one.
img_1822

Suggestion: Determine the winner at a draw

Hi,

i really like your tool and use it alot. I have a suggestion: In the last game two participants had the same amount of points and one only won because he had more megacredits. Could you implement a way to determine the winner in such a case, e.g. by asking explicitly for the winner if the case happens that two ore more of the players are tied?

Greetings!

Cannot download game stats anymore

After clicking Fetch new games at /stats no new games are fetched. The number stops at 10701 games. It seems to be related to the database being downloaded to the localStorage - it seems to exceed the limit on the localStorage size.

firebase.js:1 [2022-09-24T16:32:32.930Z]  @firebase/database: FIREBASE WARNING: Exception was thrown by user callback. Error: Failed to execute 'setItem' on 'Storage': Setting the value of 'games' exceeded the quota.
    at https://ssimeonoff.github.io/js/stats.js:75:20
    at https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:255166
    at exceptionGuard (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:212383)
    at e.raise (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:313960)
    at e.raiseQueuedEventsMatchingPredicate_ (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:313561)
    at e.raiseEventsAtPath (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:313129)
    at e.addEventCallbackForQuery (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:360121)
    at e.onValueEvent (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:259485)
    at e.on (https://www.gstatic.com/firebasejs/5.5.0/firebase.js:1:259276)
    at getFirebaseGames (https://ssimeonoff.github.io/js/stats.js:72:47) 

After cleaning the games key, no data is being shown at all - the problem persists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.