TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A minimalist basketball stat sheet app

2 点作者 TiredGuy7 个月前
I was at a volunteer coach&#x27;s meeting for the upcoming basketball season, and a friend of mine mentioned that he had gotten a stat book this year to help him better keep track of what his players needed to work on. As the analytical nerd that I am, I thought this was a great idea!<p>I checked out a few statkeeping books, and either didn&#x27;t find one that had all the stats I was interested in as someone who&#x27;s developing young players (e.g missed vs. made layups, double-dribbles), or required a lot of special marks that increased the learning curve and distraction factor. I saw a similar deficiency with existing apps, and I also wanted one that allowed you to easily export the data for sharing&#x2F;compiling and had an undo button for my inevitable mistakes. I tried it at some games this last weekend and my son and his friend enjoyed talking to each other about their numbers on the way home. I also look forward to helping my friend who got the statbook during the times he can&#x27;t enter stats himself.<p>How to use: It starts with a tutorial, but basically after you click &quot;Players&quot; and enter your players, you can increment stats by selecting a player from the top and then selecting a stat. You can view your stats anytime by clicking &quot;Show Stats&quot;, and when finished you can hit &quot;Export CSV&quot; and then &quot;Reset&quot; to get ready for the next game<p>How it&#x27;s built: It&#x27;s pretty much built with vanilla js, except for the tutorial lib (which I also made with vanilla js, btw: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;andrewfulrich&#x2F;tourit.js" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;andrewfulrich&#x2F;tourit.js</a>). I took and modified the central state store from here (<a href="https:&#x2F;&#x2F;gitlab.com&#x2F;andrewfulrich&#x2F;barleytea&#x2F;-&#x2F;blob&#x2F;master&#x2F;docs&#x2F;sharedState.md" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;andrewfulrich&#x2F;barleytea&#x2F;-&#x2F;blob&#x2F;master&#x2F;doc...</a>). All the data is stored in window.localStorage, so no back-end. Cursor+Claude helped generate a lot of the original code but became a lot less useful when it came to refactoring and debugging. It was my first successful project with Cursor and it was definitely a good experience overall.

暂无评论

暂无评论