Chapter 29 The game is online
In the next two days, Chen Yu accompanied Su Xiaoli to look at the store while writing the game plan of "If I could start my life over again".
Of course, during this period, he would occasionally be used as an errand boy by Uncle Su.
After the little fox's mother and aunt returned to Jincheng from Meizhou, Chen Yu stopped going to "Weimin Supermarket" for the time being.
Because if Chen Yu wants to see the little fox, he can call her out or go directly to her house.
However, recently, he has to focus mainly on his career.
As the saying goes, it is difficult for a rich man to be a man without money!
Chen Yu doesn't want to be supported by his concubine all his life. He also hopes that one day, he can support his concubine.
In the evening, Chen Yu and Xu Enfei returned home. After washing, Chen Yu took the game planning book and said to Xu Enfei who was watching the drama on the sofa: "Auntie, I want to use the computer in your room."
Xu Enfei looked at him and frowned slightly: "Xiaoyu, it's getting late, let's play during the day."
"Aunt Fei, you misunderstood. I have already planned the game, and the next step is to design the program." Chen Yu handed the notebook to Xu Enfei and said with a smile.
Xu Enfei took the book and flipped through it, but she didn't know much about the game, so she quickly closed it gently.
"Xiao Yu, there's no rush to develop the game. It's almost eleven o'clock. Let's do it tomorrow." Xu Enfei blinked her charming eyes and discussed with Chen Yu.
Chen Yu explained: "Aunt Fei, I will download a few development tools tonight and start the formal programming tomorrow."
Xu Enfei looked at Chen Yu, thought about it carefully, and then said with a smile: "By the way, Xiaoyu, I suddenly remembered that you will go to college in more than a month, and I haven't bought you a laptop yet.
. Otherwise, I will buy you one tomorrow, and you can use your new computer to develop games."
Chen Yu shook his head without thinking: "No, Aunt Fei, I can buy a computer myself."
"You bought it yourself? But where did you get the money?" Xu Enfei approached Chen Yu and looked at him doubtfully.
"It depends on this game." Chen Yu shook the planning book in his hand.
"Xiaoyu, didn't you say you were doing it for fun?"
"I do it for fun, but I don't want to miss out on making money."
Seeing Chen Yu's persistence, Xu Enfei said nothing, stood up from the sofa, and led Chen Yu towards her boudoir.
"Are you sure you want to use the computer in my room? It's a bit stuck."
"It doesn't matter if it gets stuck. The program design is very simple and does not require high configuration. Moreover, I can help you kill viruses and clean up the memory."
Xu Enfei waved her hands repeatedly: "No, no need."
Chen Yu noticed that Aunt Fei seemed a little strange tonight, and when he sat at the computer desk, started the computer, and started operating, he found that Aunt Fei was always by his side, staring nervously at the computer screen.
p>
It seems that the concubine is worried about something.
Chen Yu's mind turned around, thinking that there wouldn't be any secrets about his aunt in the computer, and it seemed that this secret was the kind that could kill someone.
Although Chen Yu was curious, he was Xu Enfei's good nephew and would definitely not pry into her aunt's secrets.
It can be said that even if this secret is placed in front of Chen Yu, Chen Yu will not take a look at it without Xu Enfei's consent.
Then, he downloaded several front-end development tools, Sublime text, notepad...
The front-end development tools in 2009, whether it is UI interface or functional modules, are far inferior to those of more than ten years later.
However, it is more than enough to develop a simple word game.
"The development tools have been downloaded." Chen Yu shut down the computer, then stood up, looked at Xu Enfei, and said with a smile, "Auntie, I'm going to bed, good night."
"Good night, Xiaoyu."
Chen Yu could feel that the concubine was obviously much more relaxed, which made him even more confused.
What secret could it be?
Hey... forget it, it's better not to know. Otherwise, if he finds some "study materials", how will he get along with his concubine!
……
The next day, early in the morning.
After Xu Enfei finished breakfast, she went to the company. After getting Xu Enfei's permission, Chen Yu also entered her boudoir and started game development on her computer.
Recalling Aunt Fei's relaxed appearance this morning, Chen Yu thought that after he left last night, Aunt Fei had deleted the secrets in the computer, or hid them deeper.
Chen Yu smiled and had no intention of prying into this secret, but took the time to develop the game.
The program design of "If I Can Do It Over Again" is very simple. It is expected that there will be no more than 10 JavaScript files in the entire repo, and there is no need to use any complicated libraries. You only need to use jQuery and css to simply build a front end. The only thing that is more complicated is
The place is game logic processing.
Chen Yu had already thought clearly about this issue when he wrote the plan.
In addition, the reason why Chen Yu uses jQuery instead of simpler databases such as vue and react is not because he doesn't want to, but because at this point in time, these two tools have not been born yet.
It is impossible for him to spend a lot of time "making wheels".
The hot summer day outside, with the blazing sun in the sky, seemed to have nothing to do with Chen Yu in the air-conditioned room. As soon as he sat down at the computer desk, he went from morning to night.
"Finally the test is over!"
Chen Yu stretched himself. Today he not only completed the programming of this web word game, but also tested it twice to avoid too many bugs.
Then, he released the game on Tieba and Nishikawa University BBS, and invited friends and alumni to come and try it out.
"Brothers, I recently developed a sand sculpture game, come and try it out."
"No matter how ridiculous the game is, how can it be possible for the poster to be ridiculous?"
"Already read, not playing."
"I'm going to test the poison for my brothers first. If I don't come back, take care of my fellow Taoist wife and daughter for me!"
……
Chen Yu didn't care about the chaos in Tieba and BBS forums. Instead, he went to github (an open source website), registered an account and logged in.
Then, he made the game code open source.
It’s not that he is very noble and has the spirit of “free and sharing” of the first generation of Internet people, but this can give this game greater exposure.
The aroma of wine is also afraid of the deep alley!
Without traffic, it would be impossible for this game to make money!
Besides, even if a program that can be developed in one day is not open source, others can write it as long as they have played the game. Some big guys can even write it better.
At this moment, Chen Yu heard the sound of the door opening coming from outside, thinking that it must be the concubine who was back.
He finally got up, came out of Concubine Xu En's boudoir, and went to the living room.
"Xiaoyu, have you eaten?" Xu Enfei asked with concern when she saw Chen Yu who looked a little tired.
"Eat." Chen Yu replied with a smile.
In fact, he developed the program for a whole day and not only did he not have dinner, he even forgot lunch.
However, in order not to worry Xu Enfei, he told a white lie.
Because he was hungry, it didn't matter, but if the concubine who loved him to the core found out, she would have to nag for a while.
Xu Enfei smiled slightly, with an indescribable charm, and then she took out a brand new unopened laptop from behind her.
Chen Yu just glanced at it and knew it was expensive.
"Xiaoyu, this is your gift, open it and take a look."
Xu Enfei made a wink and seemed to give Chen Yu a gift, which made her happier than receiving the gift herself.
Chapter completed!