Readit News logoReadit News
briangray commented on My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback   armaansahni.com/game/... · Posted by u/veesahni
briangray · a year ago
A great start! Congratulate them on keeping the scope small. That's important when starting out. Leaves room to build on later as they're learning.

Recommendations: - It's hard to tell when health is altered. Perhaps add a temporary color change to the health bar to inform players of the change. Or start to build in animated health that reduces the red fill with the number. - Some abilities require charge, but I couldn't find where that was tracked. Another counter could be added to show this number and any increase. - Add score for the battle. It could track correct answers, or hits, or anything that might be fun. Later versions could include a score/tracker for total monsters fought.

briangray commented on Ask HN: Recommended front end stack for complete beginner?    · Posted by u/altdataseller
austin-cheney · a year ago
Vanilla. Otherwise you will end up building the hypothetical nuclear reactor used in the story to explain bike shedding. If your goal was to be a long term corporate imposter then I would recommend React and a bunch of other bullshit, but you don’t that time.

You need to focus on delivering the end product and not some teck stack learning journey.

Just keep it ridiculously simple on the front end and you should be vaguely fine, security and accessibility not withstanding.

User interactions -> events -> event handlers -> listeners. If there is no third party code in your application you can skip the listeners if you want and it would make your application dramatically more simple.

Use of messaging via web sockets will also dramatically reduce complexity in your app down the line from an architecture perspective, but if that requires more than a day and half to execute and scale on the front end then don’t do it.

Finally, understand the spirit of the language: lexical scope, functions as first class citizens, data structures, event loop. This is the most important part. If you are not immediately comfortable with these concepts you are in deep trouble and should pay someone else to do this work.

briangray · a year ago
Seconding this. Not as a qualified frontend dev, but as a backend dev forced to learn frontend in a short time frame.

Work required some frontend tools with no devs available and I was assigned the work. The folks who would usually do that work were pushing me towards React, Vue, and Jquery solutions. I took a look at each, knew I would be responsible for understanding and maintaining the whole systems, and went with vanilla HTML, CSS, and JS instead.

Started out returning simple pages. Added styling to meet requirements. A lot of it was embedded in <style> tags until I found a way to organize it into separate classes. Then added JS for event handlers, listeners, and scripting the simple the pieces that needed to be automated.

That system has been running in production for years now. New features and bugs are easy for me to identify and add or resolve. It's also given me a solid base understanding to migrate components to JQuery and build other systems in required framework. Zero regrets about that choice. It was simple to learn, quick to build, and solid.

briangray commented on Ask HN: Favorite Home Office Purchase?    · Posted by u/sabrina_ramonov
sabrina_ramonov · a year ago
interesting, have you tried kinesis or glove80? curious how UHK compares
briangray · a year ago
I have tried a lot of split keyboards. Haven't tried the Glove80, but I have used the Kinesis (Advantage and 360) and other scooped keyboards. They feel very naturally ergonomic. Allowing your fingers to move in a way that feels more comfortable to your hand. The split design furthers that by putting your hands at the distance they should be separated. The pros: very comfortable resting position, minimal hand, wrist, and finger travel. The cons: Size and dedicating yourself to a unique layout. The Kinesis (even the 360) takes up a lot of space. The bigger issue for me though was that I had to retrain my brain for standard layouts every time I sat at a computer with a normal keyboard. Imagine building the most comfortable bike in the world, but then not being able to ride in other cities because 'your' bike is at home.

Long story, I found the UHK to be the best option. While it doesn't have the scooped or natural key placement, the layout being standard staggered allows for existing muscle memory with all the benefits of the split and tilted design. I now have two UHKs for home and office. And I would buy another if they weren't so easy to travel with.

briangray commented on Ask HN: What are some must-read books about video games and gaming history?    · Posted by u/Kovah
ab0aa907 · 2 years ago
Masters of Doom: How Two Guys Created an Empire and Transformed Pop Culture by David Kushner

It was also amazing read and it just made me fall in love with programming all over again. And thanks for mentioning Doom Guy, just ordered it.

briangray · 2 years ago
Responding to you because Masters of Doom is the right answer here. It shares a lot of details from Doom Guy, but gives a more complete timeline and better views, from multiple sides. It's a book that just makes you want to hack a game together. That's coming from someone who wasn't old enough to idolize the devs when they hit celebrity status.

Other books I really enjoyed:

- Spelunky by Derek Yu: Written by the sole developer of the game. Covers idea to development to release. Really captures a nice feeling of indie solo game making.

- The WoW Diary: Focused development 'journals' from one of the WoW level designers. Has a lot of original concept art and early alpha images. Goes over a lot of history and is just a fun read with some good insight.

- Half-Lift 2: Raising the Bar: Concept art, journals, iterations, and details from devs and HL2. Simply a fantastic insight into what they went through progressing from Gold Source to the Source Engine. Where Masters of Doom gives the written history of Doom, this book gives the nuts and bolts of HL2 and CSS. It is highly sought after by fans and developers alike and can be hard to come by.

briangray commented on Ask HN: Has anyone else stopped playing video games as an adult?    · Posted by u/closetkantian
SeanAnderson · 2 years ago
I don't play them as religiously as I did when I was younger, that's for sure, but a few years ago I started a tradition around playing video games that has been an absolute blast.

I've got a 120" projector screen in the living room with a giant, half-circle couch that seats ~10 and a good set of speakers. All year I try to find short (1-3hrs), emotionally evocative, single-player video games which aren't demanding of reflexes or wit.

On my birthday, I invite a big group of people over, we all take acid, and we dive deep into a curated set of games for a whole night. We take turns passing around the controller.

It's an absolute blast. I've ran this experience for three years running. People who don't traditionally play video games love to come and watch and get a taste of gaming, sometimes people will pilot the controller for just a short while before getting overwhelmed, but everyone's take away is a shared group emotional experience. There's been standing ovations at the end of some of the years :D

https://i.imgur.com/6F0iSxp.png Here's a list of the games. Highlights have been ABZU, The Beginner's Guide, Milk Inside/Outside a Bag of Milk, and Slay the Princess

briangray · 2 years ago
I've done similar group gaming. I would recommend the following two games. The first is more casual and just fun to watch. The second is one of the greatest narratives communicated through game design. Haven't played the recent remake that came out this year, but I will stand by that statement for the original. Make sure everyone has a chance to try the controls to fully appreciate it.

- A Short Hike: https://store.steampowered.com/app/1055540/A_Short_Hike/

- Brothers - A Tale of Two Sons: https://store.steampowered.com/app/225080/Brothers__A_Tale_o...

briangray commented on I now lack the juice to fuel the bluster to conceal that I am a simpleton   lithub.com/i-now-lack-the... · Posted by u/Jun8
Dudhbbh3343 · 2 years ago
So he's just mocking the melodramatic message of his colleague? As someone who's not that well read, I find his response nonsensical, so I imagine I'm missing a reference or two.
briangray · 2 years ago
I may be reading too far into it, but I think he _is_ mocking his colleague by responding to questions with similar questions.

> Are your emotions pure?

Are you thinking through this with clear thought and emotion?

> Are your nerves adjustable?

Do you feel so strongly about this that it has affected you this whole time, since spring?

> How do you stand in relation to the potato?

Can you not support yourself? Are you as wellrounded or less so than a potato?

> Should it still be Constantinople?

Can the outcome not change even when history repeats itself?

The last one to me seems like the indicator that these questions are not nonsensical. As it is is direct reference to the colleague's question about history repeating itself and refers to a location which changed back and forth numerous times.

briangray commented on Scripts for Streamlining Your Homelab with Proxmox VE   tteck.github.io/Proxmox/... · Posted by u/rcarmo
nonane · 2 years ago
Slightly off topic: I’m setting up a home server on a Mini PC that has Windows 11 Pro pre-installed. I want to attach it to my TV and play retro games as well as run home automation tasks (periodic scripts, UniFi controller, Pihole etc)

Is anyone using Proxmox on their homelabs? Would you recommend blowing away Windows and installing Proxmox and then install Windows with PCIE passthrough?

briangray · 2 years ago
My use-case is slightly different, but I use Proxmox for my home server and would recommend it. Especially if you're familiar with linux systems or want to learn about them which I've done through the years I've been using this setup.

My server was originally a single debian installation set up to host local services for things like git. That grew into hosting a site, vpn, then some multiplayer game servers. When I reached a point where too many things were installed on single machine, I looked at vm options. I've used VMWare/VSphere professionally, but settled on Proxmox for these main reasons: easy to set up and update, easy to build/copy vms, simple way to split physical resources, monitoring of each vm, and simple backup and restores. All without any weird licensing.

That server houses 4 vms right now. That might be a bit much for your mini pc but you could do a couple. The multiplayer servers are the main hog so I isolate resources for that. The windows machine is only for development which isn't your exact use case. I can say however that I've never had issue when I need it. Only thing I can't speak for is the need for graphics passthrough.

briangray commented on Ask HN: How to setup a raspberrypi for a three year old?    · Posted by u/noweducational
briangray · 2 years ago
My kid started with computers around the same age. Using mostly text editors to type in random things on my computer. It was a great way to explore letters and learn to use a keyboard.

Following that we 'built' a computer together out of paper. This allowed me to show each part and what it did to give a base understanding. Then I let them hook up the RPi to a monitor and keyboard. The device was configured beforehand and had all the updates and software needed.

I chose not to connect it to the internet. That's how I learned computers and I thought it would be a good way for my kid to learn. Turned out really well and documentation is available on the device if you show them how to search for it.

As for educational software, I highly recommend GCompris[1]. It's just an awesome set of tools disguised as games. Accessible for a wide range of ages. I let my kid run wild in there and I'm blown away by the things it's helped teach them.

Last thing I'll mention is very specific to my interests, but I installed a few roguelikes. Easily accessible terminal games. Some well known like Nethack and others simple browser games I've made myself. All of them have gotten play time. In an age where graphics have overtaken good gameplay, I wanted to present games that weren't all lights and colors. Most of them are stripped down to learning the world and problem solving. Being turn based helps give time for them to think about each obstacle. And I feel like the constant death and resetting has helped alleviate early troubles they had with failure.

- [1] https://www.gcompris.net/index-en.html

briangray commented on Game design wiki   rosacarbo.notion.site/Gam... · Posted by u/janjoseph
doctorpangloss · 2 years ago
The best book I've read about making games is the two Blood Sweat and Pixels by a games journalist.

Regarding design, Vlambeer (Rami Ismail and JW Nijman) is kind of the template of the contemporary indie game. Watch their talks.

HN frequently links to stuff that could appear on "Awesome X" lists on GitHub but I don't personally find it very useful.

Honestly you will not find good books about these things. Games culture writing almost entirely falls into the wrong side of cultural materialism: since the vast majority of game creators are still living, talking about them is marketing. Marketing is survival. It's very hard to have a negative subjective opinion about anything to do with games, including engineering and design, and participate in the gaming ecosystem. All of the games industry operates, essentially, under the "Banning the Negative Book Review" (https://www.nytimes.com/2013/11/30/opinion/banning-the-negat...) premise, in a Darwinian way.

So like if it's a book by a game creator... At the end of the day, they have to promote their game. If they were dead, and someone else were writing about it, okay, the bad stuff won't be omitted, it will be authentically bad. It won't be mea culpa or here's-what-I-learned badsplaining. But that doesn't happen because everyone is still alive.

This is difficult to express because there isn't a succinct humanities idea for this - it's cultural materialism, but that covers a lot of ground - but it is the reason you can't just like, find a book about game development that is mind-bendingly good. It's why there isn't an idea as succinct as The Hero's Journey for games like there is for books. You have to accommodate any and all ideas for making games, not because there's no objective truth to it (there is), but because you might make someone's thing less marketable.

briangray · 2 years ago
I would not recommend Blood Sweat and Pixels. While it does have details on publishing decisions and crunch of making games, it has little insight into any actual game development. It's more of a sensation piece on how difficult games are to make. GP seemed to be looking for design and pattern references.
briangray commented on They lost their kids to Fortnite   macleans.ca/longforms/for... · Posted by u/cringles
pixelgeek · 2 years ago
First DnD and now Fortnight
briangray · 2 years ago
Your line of thinking isn't wrong. It is very common for the new hot game, taking up all your kid's time, to be vilified. Especially by those who don't understand its appeal. However, I think there is a bit of a gap between the Satanic Panic and modern SAS games. I don't have the exact words for it. The psychological drive to play is there for both. D&D would better fit into a long-timeline hold where you have fun playing and still enjoy the thought of playing even if you haven't played in years. Fortnite, and many other modern multiplayer/live service games, have a constant, short-timeline hold. Where there is an addictive drive to continue every second. Playing nonstop even if you're not enjoying it.

u/briangray

KarmaCake day62August 9, 2019View Original