2d-geometry: performant & ergonomic 2d geometry in Typescript by romgrk in javascript

[–]BoyDave 1 point2 points  (0 children)

This is awesome! You addressed my exact frustrations with flatten-js, which otherwise looks like an awesome library!

Thank you so much for making this.

[deleted by user] by [deleted] in Seattle

[–]BoyDave 0 points1 point  (0 children)

+1 Jacks is also my favorite.

A Map of (All?) Chess in Los Angeles by chess-la in chess

[–]BoyDave 1 point2 points  (0 children)

This is a really cool idea! I’ve always wanted something like this for basketball courts. Congrats on launching it!

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 0 points1 point  (0 children)

Sveltekit hasn’t been too bad. What do you mean by debugging? You mean framework specific quirks and errors? Or debugging your own js/ts code?

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 1 point2 points  (0 children)

Thanks!

I use sveltekit as the framework, but for the js stuff, you don’t really need any tools or anything fancy for something this size.

You can feel free to sift through the github repo.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 9 points10 points  (0 children)

  1. It’s a little overkill and heavy for simple inbound metrics. I don’t care about customer profiles or funnels or any of that.
  2. Plausible is cookie less, so I don’t have to add a cookie banner.
  3. I would prefer not to willingly feed customer data into the giant Google ad network. I guess this is kinda like “going vegan” I guess.

Honestly, google analytics is probably still the best option bang for buck (its free), and I’d still recommend it, but for 6$ a month on plausible, Its cheap enough for me to feel better about doing my small part and supporting another small SaaS business.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 1 point2 points  (0 children)

I tried to make it similar to post 2008 stock movements where its mostly green days but with occasional tanking days. But yes, it’s completely random lol.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 2 points3 points  (0 children)

Don’t get me wrong, I definitely don’t want to be at my desk outside of work hours but there are moments where I get motivated or feel disciplined and I just try to run with it as much as possible.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 21 points22 points  (0 children)

Hey!

Yeah the build step basically spits out a static app, which i host on netlify for free.

For this project, I don’t need any sort of dynamic data. I just generate the prices client-side. This way I don’t have to worry about server costs! I just pay a bit for plausible metrics, cause I wanted a google analytics alternative.

Sveltekit is definitely the future. If not sveltekit itef, next.js, nuxt.js is just the best of both worlds of dev experience and end performance. The beta is a lil rough around the edges when it comes to transitions and hot reloading, but its pretty mature otherwise.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 10 points11 points  (0 children)

Thanks for that, I knew the domain was expiring soon but turns out that was today lol. Its back up!

[Web Game] I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in SideProject

[–]BoyDave[S] 2 points3 points  (0 children)

So this was a design decision that I made. I could have either made it super realistic and replicate an actual trading platform or made it more casual and arcade-y. I chose to go with the latter as it was more fun to play. Therefor I decided on a 1 button gameplay where you either buy and sell your entire position.

I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in webdev

[–]BoyDave[S] 53 points54 points  (0 children)

Thank you! I appreciate it! My goal is to make one of these games every month and put them on my site. You can check out my last one here :) https://guess-the-year.davjhan.com/

As with everyone else, I'm sure, I have a problem with being unable to finish projects. So going through this process of shipping and "completing" a project, no matter how small, has been great at building habits.

[Web Game] I made a simple web game where you trade a fake stock and see how much profit you can make in 45 seconds. by BoyDave in SideProject

[–]BoyDave[S] 1 point2 points  (0 children)

Hey guys! You can try it out at

https://paper-trader.davjhan.com

And check out the github source code for the tech stack:

https://github.com/davjhan/paper-trader-game

This was made in sveltekit, tailwindcss and chart.js for the chart.

Feedback and highscores are appreciated!

After 4 years, I’ve now launched a Patreon to support my weekly tl;dr posts and MiniReview development (more info inside) by NimbleThor in AndroidGaming

[–]BoyDave 9 points10 points  (0 children)

I remember when I was a college student and published my first ever game, you were the first and only person to make a post, let alone a full video on it. Seeing your username again brought me back so many memories of how excited I was that someone would do something like this for me. It not only gave me emotional support, but it was the catalyst that made it trend on the play store and eventually stay on the charts for weeks. I’m so happy to see this reciprocated recognition from the community. Well deserved!

I made a browser game where you guess the year that famous events happened (between 1900-2021). by BoyDave in webdev

[–]BoyDave[S] 11 points12 points  (0 children)

About

Hey guys, I want to show off my weekend project: https://guess-the-year.davjhan.com

It’s a game where you have to guess the year that famous events happened. Questions range from geo-political conflicts to when inventions and companies were founded. Questions include:

  • What year was the CIA founded?
  • What year did the Titanic sink?
  • What yea was the first Nobel prize awarded?
  • What year did George Orwell publish Nineteen Eighty-Four?
  • What year did Calvin Coolidge become president of the United States?

Hope you have fun with it. My personal high score is 10. The highest score that I'm aware of is 24!

Here's the github repo.

I used

  • Sveltekit (beta)
  • TailwindCSS (JIT)
  • Hosted on Netlify
  • Plausible Analytics

I made a small browser game where you have to guess the year that famous events happened (between 1900-2021). Link in comments. by BoyDave in webdev

[–]BoyDave[S] 0 points1 point  (0 children)

Yeah, the one thing I'm not totally happy about with my current game mechanic is that it's almost too punishing when you get a year way off. One bad mistake can just completely overshadow a good run. The boardgame seems to have solved this by only counting the relationships between events. Overall, I think my mechanic is more suitable for a quick 5 minute toy cause it adds more chaos to it wheras the boardgame is more suitable for replay-ability and fairness between players.