Chapter 378 Web-based Games

Well, perhaps the design style of the new homepage isn't that sophisticated.

After all, without CSS support, it's really too much trouble to achieve many effects.

Front-end development is purely cyber-civil engineering; even a dog wouldn't do that kind of work.

Even so, based on its current performance, it has already completely crushed all other websites on the market.

Putting everything else aside, the page beautification and dynamic interaction alone are something that no one else can do.

The button works!

Although it sounds like a pointless statement, it's unprecedented in the current context.

Before this, it wasn't that no one had tried to create dynamic interactions.

However, it's simply unrealistic to achieve true dynamism using only HTML.

At most, we can just change the style of the hyperlink text to make it look somewhat legitimate.

More often than not, people will choose to simply state the facts directly.

For example, the travel blog that Benjamin just browsed.

The author simply posted their travel photos one by one on the webpage.

And what about Neus's new homepage?

In the background, simple geometric shapes of varying shades of gray fall from the sky, drifting across the page like snowflakes.

The three options at the bottom seem to scroll automatically over time.

A simple progress bar is displayed below, slowly filling up over time.

Each time it fills up, the options will rotate one position to the right.

When Benjamin drags the joystick and points the cursor at a tab, it seems to detect Benjamin's movement and enlarges the tab he's pointing to, making it stand out.

"What————The————Fuck?!"

Benjamin considers himself a veteran internet user.

I've been connected to the Neus private network since the time of Pixels.

I haven't missed any of the various online functions since then.

But he had never been as surprised as he was today.

Admittedly, this kind of interaction is not new, and many games have begun to gradually incorporate more flexible and user-friendly UI designs into their games.

Many application software programs have also begun to focus on this aspect.

But this isn't an application!

This is just a webpage.

Benjamin had a sudden thought and quickly dragged himself to the PC to try and open the browser.

This time, instead of updating, he tried to access Neus's homepage directly.

as predicted.

The effect displayed here is completely different from what I saw on NX just now.

What you see here is still the same old white background with black lettering, flat design.

The only difference is that there's an extra line of text that's been deliberately set in red.

Please update your Neus browser to the latest version to enjoy the dynamic effects.

Now the situation is quite clear.

The amazing effect I just saw is a feature brought by the new browser.

That is the so-called "NovaScript interpreter".

"That's amazing!"

Sam marveled at the colorful geometric shapes in the background that resembled falling snow.

The most amazing thing about this thing isn't actually its dynamics.

Its strength lies in its smoothness.

Normally, with such a large number of graphics, the speed of a civilian network would take quite a while just to load.

It's impossible to achieve such a beautiful and silky smooth effect like this.

"It really doesn't lag at all, and the loading speed is much faster than before."

Sam cleared the cache and reloaded the homepage.

As before, it loaded completely in no time.

In the past, it was normal for web pages of this level to take several minutes to load.

"Because it is essentially a program."

Lin Lixin smiled.

This is also the core goal of the upcoming game, "Screeps".

With so many people online simultaneously, it's necessary to respond to everyone's actions in real time.

To be honest, it's simply impossible.

Pixels works because the amount of data they need to transmit is very small.

Essentially, it's just a matter of two parameters: coordinates and whether to draw.

But Screeps is a complete RTS + farming game, which involves a massive amount of data.

Lin Lixin turned on debug mode, casually modified a few lines of code, and then reloaded it.

The background graphics immediately changed, even the trajectory of their fall changed.

"They are rendered in real time on the user's computer, and the data exchange with the server has long since ended."

Essentially, this entire background process simply involves transmitting a small piece of code to the client.

This amount of text is more than enough to handle with the current bandwidth.

Once loaded, the browser will run the pre-designed script and begin drawing these elements in the background.

"In a sense, you can think of these effects as a single-player game; they all happen locally."

'

o

This is the core technology of this new project.

Indeed, it's simply impossible to make all players on a server respond to their actions in real time and be completely synchronized.

But Screeps is different; all actions in it are accomplished through player scripts or command lines.

"See, doesn't this perfectly match the needs of our new project?"

"Wow—that's a brilliant move."

Sam nodded knowingly. "So, in other words—players are actually still playing a single-player game, and uploading only happens when the script is updated?"

That's how it is.

"Wait a minute—does that mean this game doesn't even need storage media?"

Sam paused, suddenly realizing that this project seemed to have another significant feature that he had overlooked.

Its core is the NovaScript interpreter, which has already been rolled out to all browser users in previous updates.

In other words—

"Oh right, this is a web-based game, also known as a 'web game'."

"Doesn't that mean—"

Sam stared blankly at Lin Lixin's smiling face, and only then did he realize how terrifying this project was.

The emergence of NovaScript became another important piece of the puzzle on the eve of the global information network boom.

There is absolutely no need for official publicity or promotion.

Honestly, anyone interested in website building would find it hard to sit still after seeing the new homepage.

The worst thing is to compare things.

Having seen this level of webpage, and then looking back at my own disastrous page design—

We really need to investigate what's going on here!

The simplest way to study this stuff is naturally to follow along step by step, copying the steps one by one, and then gradually adding your own content.

It's as if the authorities had already considered this.

These scripts are loaded and run locally.

Simply access the corresponding script using a browser to clearly see its contents.

Thus began a massive website renovation project.

Within just one day of its launch, several websites had already copied its effects.

It's a direct copy, not a single character changed.

After working on it until everyone felt nauseous at the same result, the website owners finally figured out the workings of this new language.

It is highly lightweight, easy to learn, and even people with no programming background can understand a little bit about it.

For developers familiar with C++, Java, or N languages, this presents absolutely no barrier to entry.

This grand occasion continued until June 14th.

Neus's homepage has changed again.

The first option in the bottom tab has changed from the original "NovaScript Effects Demonstration" to something I've never even heard of.

【Screeps】

[An RTS sandbox game for programming enthusiasts]

Make coding more fun!

Helsinki, Finland, University of Helsinki.

As usual, Linus was busy with his project, "Zork Placement," with the book hanging up.

He had already completed the projects he was working on in class these past few days.

Based on past patterns, he would usually choose to tinker with UNIX system-related things at this time.

However, things are a little different these past two days.

The newly emerging NovaScript piqued his interest considerably.

By using the cross-sea route that I had secretly established through the university network, I was still able to access the Neus backbone network in the United States from Helsinki, despite the extremely high latency.

This really broadened his horizons and allowed him to see many things that he could never see in Finland.

For example, a real Pokémon Center, a mansion modeled after Resident Evil, and arcade machines that imitate real fighter jets —

These are things he couldn't see in Finland.

However, Linus has little interest in tinkering with video games right now.

"Zork Idle" is already the limit of what he's willing to explore.

I prefer to spend my time developing projects rather than playing games.

"Huh? Screeps—what are these?"

He had planned to go to the Neus homepage as usual to access the official NovaScript documentation and look up some information.

But a new, unfamiliar item appeared in the tabs.

"Programming games?"

Linus paused for a moment as he looked at the small print in the description, and a name immediately flashed through his mind.

The Core Wars

As a hacker, this game certainly left a deep impression on him.

"Hmm, how about we give it a try?"

Linus's aggression is subtle.

Like most geeky oddballs, he was introverted and aloof.

He's a low-key guy; he never jumps out to criticize others, nor does he boast about his achievements.

In fact, even today, no one else in the school has figured out how they connected to the Zork server.

Being able to conceal oneself does not mean it does not exist.

The more reserved a person is, the more flamboyant the madness hidden deep within their soul becomes.

Available Servers:

[California—127/200—Join]

[Arizona—49/200—Joined]

As soon as you enter, a scrolling list appears on the screen.

There were a huge number of servers packed tightly together inside.

In addition to these official servers that are available for direct selection, there is also a "private server" option.

It appears that the server is being run on their own PC.

California is too far from Helsinki, and even if Linus wanted to, it would be very difficult to get there.

Reluctantly, they had to choose the Boston uniform, which had a much smaller number of attendees.

The game graphics are simpler than I expected.

A square map of size 5050, composed of squares of various colors.

Black rock walls, shimmering yellow resource points, green swamp, and gray standard ground.

It has a very hardcore STEM style.

Logically speaking, Linus could have easily dealt with this kind of thing by simply swiping it around a couple of times.

But this time, he didn't exit immediately; instead, he kept his eyes glued to the window at the bottom of the screen.

It was a window similar to the command line of a Unicode or DOS system, where he could enter commands.

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like