Chapter 415: RobTank

readx;

Chapter 415 robtank

The core war is a little thing that three young people in Bell Labs tossed in their spare time, and they turned von Neumann's theory into reality, allowing the program to replicate and spread itself. Pen~Fun~Pavilion www.biquge.info--Net.

However, this kind of replication and propagation is only limited to a virtual machine platform like "Darwin", and all the resources in it are already limited.

Although the game is the originator of the virus, it does not actually create a virus, at best it is just a small game that is popular within the small circle of programmers, who write code through an assembly language called Redcode and create fighters according to their own algorithms.

However, this game has inspired many people to feel that these programs can not be limited to this platform, but can directly run on real operating systems and hardware platforms. Among them is Morris's son, Robby Morris, who wrote the famous Morris Worm, which destroyed countless supposedly secure computer systems in one fell swoop.

And Lin Hong was also inspired by the game of Magnetic Core Wars, and felt that the virtual machine written by Wu Dong and them could be directly converted into such a platform, and let them directly write game programs in it and then run it in it.

In this way, they have written this virtual machine platform that can be used to play games and practice their programming skills at the same time.

Of course, in Lin Hong's view, the "core war" is still too primitive on the whole, not only the interface is primitive, but the programming languages that can be used are also primitive.

He said to Wu Dong: "After all, the core war is a game in the embryonic stage of computer technology a few decades ago, and it is too simple and not interesting to use now." I mean, take the principles and ideas of it and create a new and more complex game. ”

According to Lin Hong's meaning, the programmer's game should be like the core war, which is completely different from ordinary games, and the characters of the game need to be generated by themselves through programming, including the actions and responses of these characters.

"Wait, I'll take the notes and write them down."

When Dongwu heard Lin Hong's idea, his eyes became brighter and brighter, he was afraid that he would forget any detail, so he immediately found a notebook and a pen, and quickly recorded Lin Hong's thoughts in the notebook. --Net.

If Lin Hong had told him directly that he wanted to build such a battle game platform that could allow programmers to write their own "warriors", he would definitely feel that this was too complicated and could not be completed at all.

However, after hearing about the game "Core Wars", he already has a certain understanding of the basic principles of this game, and he already has a certain confidence in his heart.

Lin Hong continued: "The purpose of the core war is to compete for memory resources, they are like a hungry greedy person, constantly devouring, this setting is a bit too simple, and the form of expression is also very simple, lacking in interest. We can be flexible, since it is a warrior to fight, then simply set it to a common battle mode, and the character is no longer a simple two small squares, but can introduce more vivid and specific graphics. ”

"Is it a fighting game like The King of Fighters?" Wu Dong asked as he recorded.

"Well, you can consider that later." Lin Hong nodded, "However, in the early stage, it's better to simplify it a little more, the fighting mode like the King of Fighters is a bit too complicated." ”

The fighting of The King of Fighters games is completely streamlined on the basis of real fighting, and some of the main attacks and blocking actions are extracted and modeled.

If such a game can be successful, it is indeed very interesting, but in this way, it is indeed too complicated for Wu Dong and them, and there are too many variables and parameters, so it can only be used as a development direction in the later stage.

Lin Hong was just a general idea before, but now he is also thinking about it.

"That's ...... Simplify the attack method, don't divide what hand and foot attacks, directly abstract the attack means into one, and don't divide what heavy punches and light punches, there is only one standard for all attack power. ”

"If it's just you and me, it's not interesting, is it?" Wu Dong stopped his pen and raised his head and asked.

At this time, Lin Hong already had a new idea in his heart, and a smile appeared on his face, and he said:

"It doesn't have to be hand-to-hand combat, it can be a shooter, so it's fun. --Net."

"yes, the attack style of the shooting game is relatively simple, and it is also very interesting!" Wu Dong suddenly realized.

The next idea is clearer.

The two of them asked and answered, which was equivalent to brainstorming, and gradually perfected this new game.

The final design of the game is a tank battle platform, A and B are two tanks, when they first appeared on the battlefield, they have a certain amount of blood slots, and they can fire at each other, if they are hit, they will deduct a certain amount of blood, and if they continue to be shot, the blood gauge will explode when they are exhausted, and they will lose the game.

Tanks can be moved around the battlefield at will, and the direction of the cannon can be adjusted at any time.

The tank is equivalent to a warrior in the core battle, and everyone needs to program it to specify a reasonable attack strategy and dodge strategy, and whoever has the most scientific and reasonable strategy can win the game in the end.

In other words, the future competition of this platform mainly involves the competition of algorithms and the ability to implement algorithms.

In order to make more people participate in this game, Lin Hong felt that it should support multiple languages, including common C and Java.

Wu Dong: "Boss, what's the name of this game?" Tank battles? The name seems too common to be confused with other tank games. ”

"yes, tank battle is a great name, but it's already used in a lot of games. In order to distinguish, let's call it a robot tank, the English name robotank, at the beginning, do a good job of internationalization, so that foreign masters can also join this game. ”

Programming itself is a very international job, and there is basically no language barrier in communication between programmers, and they can write excellent programs, and their English proficiency is not low, at least their English reading and writing skills will not be low.

This is no way, because most of the books and materials in the computer field are in English, such as the technical documents of Intel CPU, in PDF format, all of which are tens of hundreds of megabytes in size, and few people will be able to translate these documents, because there are too many proper nouns and principles involved, and non-industry insiders can't translate them, and people in the industry feel that since you have reached the point where you want to read these documents, then there is no obstacle for you to read this document.

When Wu Dong and the others were working on this project before, a technical document weighing more than ten pounds was flipped over and over again, and I don't know how many times. Of course, you don't look at everything, just look for the information you need.

We've only set up the RoboAnk framework, and there's still a long way to go before the game can really be playable. Fortunately, the simulation of the CPU has been completed, and the next thing is not complicated, there are two main aspects of work.

The first is graphic, the implementation of the drawing function, which requires the display of all the elements of the tank and the shell attack in a graphical way.

The second is the cross-platform compiler. The final compiled tank file code should be able to be read and executed directly by the virtual machine.

However, none of this work is a problem for Lin Hong, but he will not do it himself, and he will leave it to Wu Dong and them to do it themselves. He is only responsible for putting forward the requirements and framework, and he doesn't care about the implementation of the details, leaving it to Wu Dong and them to practice.

Of course, Lin Hong will still be responsible for helping to get the key things done, at least the project can continue.

The reason why Lin Hong is so enthusiastic about this project is that on the one hand, it is to help Wu Dong, and on the other hand, he also has his own selfishness, he hopes to actively promote the popularity of this game in domestic universities, so as to be able to find some talents in this area.

However, for the time being, he is still busy, and he will do this after he is done with the company's affairs first.

Wu Dong saw that Lin Hong had made a long list again, dividing the entire project into many steps for them to realize, and couldn't help but think of his coming to school today, so he asked, "Boss, have you been there with the counselor when you came back this time?" ”

"Well, already went, just submitted a request for suspension."

"Suspension?" Wu Dong was stunned.

"Yes, it's not going to be on for the time being, if you have time to think about it in the future, let's see it later."

Lin Hong was also a little reluctant to let them be roommates, although it was only a short period of time here, but he went to experience the sincerity and flawlessness of college life, and also made a few good friends and brothers.

"And where are you going?" Wu Dong asked.

Lin Hong smiled: "I will be in Shanghai for a long time in the future, if you go there to play, call me directly, I will leave my new contact information to you." By the way, and my contact information on the Internet. Have you guys played OICQ? ”

"Yes, you can use OICQ directly to get in touch online!" Wu Dong patted his head, "Boss, what is your OICQ number, I'll add you as a friend!" ”

“10108。” Lin Hong reported his OICQ number.

"How much?" Wu Dong thought he had misheard.

“10108。”

"Wouldn't it? Number 108? ”

At this time, the OICQ software has begun to become popular on campus, with the increase in the number of registrations, the number is getting lower and lower, and the number they apply for is no longer starting with 1, but starting with five or six, that is, there are at least forty or fifty thousand users.

"I know the author of this software, and I helped with the internal testing of this software."

The boss is the boss, and even the author of the OICQ software knows it, and Wu Dong has no other feelings about it except admiration.

Lin Hong stayed for a while, and Zhang Da and Li Qi also returned to the bedroom.

They were also very reluctant that Lin Hong would stop school and go back to open a company, and they all said that they must go to Shanghai to see his company if they have the opportunity.

In the evening, the few of them had dinner at a small restaurant near the school, and this time Zhang Da and Li Qi were drunk again, and kept shouting that they wanted to have a few more drinks with Lin Hong, just like when they first met and became roommates.