Tag: video games

Coding and Baseball

close up photography of four baseballs on green lawn grasses
Photo by Steshka Willems on Pexels.com

I’ve spend much of this week writing code for a fairly significant update to some software my team rolled out in May. Much of it was refactoring (from about 4,000 lines of Groovy script down to about 900), some of it was making things more efficient, and a lot of it was to make the code more supportable as time goes on. There were also a lot of important enhancements and bug fixes. Each day began with me sitting in front of code, disappearing into the code, and emerging only reluctantly to the world when my brain was too tired to continue.

Those of you who write code for a living know what this feels like. On Friday night, for instance, as I write this, I was completely spent. As much as I wanted to continue reading the (thus far) fantastic book by Joe Posnanski, The Baseball 100, I needed a break from reading. It was all I could do to pull myself back to the computer to write this. The family went out and I wanted to go with them, but I wasn’t feeling social. That happens sometimes after spending a week in code.

So what’s a fellow to do?

I think I found a pretty good solution: I discovered that The Show ’21 is finally available for the Xbox One. And I started playing it. I played my first game as the Los Angeles Dodgers facing Tampa Bay. And despite it being my first game, and despite the fact that my hand-eye-coordination could use some work, I played a full 9 innings and beat Tampa 6-5. It was blissful.

Either you are a baseball fan or you aren’t. I’ve rarely met someone in between. People sometimes wonder what’s so great about the sport. You hear all kinds of arguments from baseball fans (of which I am one), but the best line I’ve ever heard is simple: baseball is there to be enjoyed. And I enjoyed it tonight, even though it was in a video game. I love the dynamics of the game, the skills required not just on the athletic side, but on the mental side as well. I love the instincts that develop: flipping that grounder to second because you know without looking that there is already a running on first. I love the chess match between pitcher and hitter, each trying to outguess the other. And of course, I love the history.

It’s been many decades since I last thought that playing in the majors could be a reality (I think I might have been ten). But playing The Show tonight after spending my week coding made it feel like I was playing in the majors. It made me feel good, and that’s just about the best think a video game can do.

I played one game already, but it’s a beautiful evening for baseball. As Ernie Banks would say, “Let’s play two.”

Did you enjoy this post?
If so, consider subscribing to the blog using the form below or clicking on the button below to follow the blog. And consider telling a friend about it. Already a reader or subscriber to the blog? Thanks for reading!

Follow Jamie Todd Rubin on WordPress.com

Minecraft Lessons IRL (In Real Life)

Minecraft screen capture -- courtesy of the Little Miss
Minecraft screen capture courtesy of The Little Miss

We went for a hike on the Fourth of July in a state park in upstate New York. It was our family, and my sister’s family. Between us there are five kids, and five very enthusiastic Minecraft aficionados. The weather was perfect for a hike, especially after several days of rain. We had reached our turn around point and had started back when one of the kids (my increasingly fallible memory protects the innocent here) said, “I’m staying here.”

We all kept walking.

“How far would you guys go before turning around and coming back for me?” they asked.

Someone might have said, “Why would we?” (That someone might have been me.) Of course, we were joking.

“That’s okay,” the straggler said, “I’ve played Minecraft in survival mode. I could survive here in the woods no problem.”

And that’s when my writers imagination took over. What I saw was this:

The Little Man and his cousin decided to attempt to survive in the woods overnight applying the lessons and skills they’d learned from countless hours of playing Minecraft in survival mode.

The Little Man, who is nothing if not methodical when it comes to playing video games (if only this were true about, say, putting wrappers in the trash or turning off the light when he leaves a room), takes a look around the woods and says to his cousin, “First thing’s first. We need to make some tools. And the most basic of the Minecraft tools is a pickax.”

“Great idea!” his cousin replies.

Now, the Little Man, who sometimes forgets to put his shoes back where they belong, magically comes up with the formula for a pickax from memory. “First we need three wooden planks and two sticks,” he says.

“Why not make a Netherite pickax?” his cousin asks.

“Bro!” the Little Man says. He says “bro” the way I used to say “dude” when I was thirteen and living in Los Angeles in the mid-1980s. “Netherite isn’t real. Besides, we’d need a diamond pickax first, and we can’t get a diamond pickax without getting diamonds and that means having a pickax to begin with.”

Now in my imagination, they somehow locate three wooden planks in the midst of this state park. The sticks are easy. They each collect one, and before they’ve been alone in the woods for an hour, they have the five pieces needed to create a pickax.

“Uh, Bro?” the Little Man’s cousin says, “what do we do for a crafting table?”

“Easy,” the Little Man says, “we’ll find a clearing and use one of these sticks to sketch out a 3×3 grid that will be our crafting table.”

So they hunt for a clearing and after brushing away leaves and other detritus, they carry out their plan and sketch out the grid.

The Little Man wipes his dirty hands on his shorts. “Now all we have to do is lay the three planks across the top, and the two sticks down below the central plank.” He and his cousin set to laying out the planks and sticks as described. They stand, waiting.

“Something’s wrong,” his cousin says.

“Bro, I can see that.”

“What do you think is wrong? Do we need some redstone?”

“I’m getting hungry,” the Little Man says.

“Me, too.”

They stand there while no pickax forms from the material they’ve gathered.

“What should we do?” his cousin asks.

The Little Man considers for a long time. Then his face lights up. “Bro, I’ve got it!”

“What?”

“We’ll use a cheat code.”

“What cheat code?” his cousin says.

A wicked smile draws across the Little Man’s face, and he pulls out his iPhone. Carefully, he taps out the cheat code, which it turns out, is Dad’s phone number.

When I pick up, the Little Man says, “We’re hungry. Can you come get us?”

Did you enjoy this post?
If so, consider subscribing to the blog using the form below or clicking on the button below to follow the blog. And consider telling a friend about it. Already a reader or subscriber to the blog? Thanks for reading!

Follow Jamie Todd Rubin on WordPress.com

The Architecture of Time Travel in a Role-Playing Video Game

One of the things I’ve enjoyed about following along with the progress of Richard Garriott’s Shroud of the Avatar: Forsaken Virtues is the peek I’ve gotten into the process behind the scenes of video game development. The Ultima games were my absolute favorites as a kid, and as a software developer (by profession), I’ve always been curious about how they are made. It’s not so much the three-dimensional environment that interests me, but the game on the macro scale. The interweaving stories, and the various games states, and how it is all managed.

My thoughts had drifted to this while eating dinner this evening, and I began to wonder if time travel had ever been an integral element to the architecture of a game universe. I wondered if it was possible to architect the game model to support time travel as an action in the universe. For instance, a player could cast a spell to go back in time to a certain point. Once at that point, they would see the events of the game unfold, as they actually occurred. But now, there would be two instances of the player in the world. The “past” instance would now be an NPC, with a predefined course of action based on what has already happened. The “current” instance would be played from the player’s perspective.

Beyond the plot aspects, I wonder what the architecture of such a game model would look like. It would grow more complex the longer the game is played. And how would you account for changes in the past. Would a new “game universe” be spawned. Could a player cross universes at that point?

I’m not really going anywhere with these thoughts. But I was mostly curious if anything like this had been implemented in a large-scale RPG before.

Old School College-Era Video Games

I’m not much of a gamer. Yes, I have a Wii at home, and on rare occasion (mostly when we have friends over) I’ll break it out in order to play Rock Band 3. But that is about it. For one thing, I don’t have time and for another, I don’t have the interest. This isn’t a knock against video games today, many of which appear to be absolutely stunning. But despite the life-like 3D of these games, despite the new ways of interacting with the game, and the multi-player aspect that the Internet brings, some of my favorite video games are still those games that I played in the late 1980s and early 1990s.

Read more

PS3 watching

When I got to work this morning, security wasn’t letting people into the mall. I had my badge on and they let me through so I could get into the office building, but I couldn’t figure out why they weren’t letting anyone else in.

Looking out my window now, I understand. My window looking into the mall and I can see a line formed outside the Sony Style store. People must be in line for their new PS3s. The line is not very long and the police (yes, Arlington police!) are turning away newcomers–so the stock must be pretty low. The mall is crawling with police and security right now. I think they expect a riot to break out as soon as the Sony store runs out of PS3’s.

When I was growing up, we worked summer jobs to do things like buy used cars and pay for college. Times change. Today, people are saving up for PS3’s and xboxes.

And I am suspect that people have actually saved for this. I wonder how many people are just charging the unit to an already over-extended credit card.

Interestingly, I see no girls in line.