Xu Zhe chuckled: "Yes, but they are all in single digits. The money I spent the most in the past six months was not pocket money, but what I earned from writing code."

Song Xingye and Tang Lingfei stared at him with complicated eyes, which were a mixture of admiration and sympathy.

"So you have so little pocket money..." Song Xingye murmured.

Tang Lingfei said: "I know you don't have much pocket money, but have all your previous New Year's money been taken away?"

Xu Zhe sighed: "I finally understand. This is what it means to raise boys in poverty and girls in wealth."

He felt that this kind of parenting was very bad. If a boy who had been raised in poverty met a big sister who was willing to spend money on him, wouldn't he fall for her in a matter of minutes?

But then he thought about it and wanted to laugh. A big sister willing to spend money on a little boy? Oh, this is not a science fiction movie.

----

Chapter 73 Science Fiction

2023-09-06

After celebrating his birthday with Tang Lingfei and the others, Xu Zhe still had to go to school the next morning to exercise his thinking.

But what was different from the previous times was that today he had a laptop in his bag.

Since he had agreed with Shen Lan that he would teach her programming, it would be best to teach her on the spot with a computer. He didn't know if this senior was really that interested in programming, but he was going to teach her well. To this end, he even prepared a vivid case.

If he can teach him well, he may not only gain a smart helper in the future, but also a friend with whom he can talk about more common topics.

Although his interpersonal relationships have become much stronger than in his previous life and he has had many interesting experiences in the past six months since his rebirth, his greatest strength and hobby is still programming. Unfortunately, no one around him, whether it is students of the same age or parents and teachers, can talk about this. This makes Xu Zhe feel a little bored sometimes.

So after today's Olympiad class was over, Xu Zhe picked up his schoolbag and put it on Shen Lan's desk.

Shen Lan noticed that the schoolbag seemed heavy: "This is..."

Xu Zhe smiled slightly: "Do you still remember what I want to teach you?"

Shen Lan was shocked and asked, "You brought it to school?"

Xu Zhe: "I don't think we need to go to the billiard hall today. It's just right to stay in this classroom."

"What's the right thing to do?"

Xu Zhe and Shen Lan turned their heads and saw the classmate named Wei Junkun.

In the silent gazes of the two people, Wei Junkun felt a little pressure, as if he had barged into a place he shouldn't have been at and became very redundant...

"Aren't you hungry? I have to eat quickly."

Wei Junkun retreated in a hurry.

At this time, the other students in the competition team also packed up and left, leaving only Xu Zhe and Shen Lan in the classroom.

Xu Zhe: "Are you hungry? How about I pack a portion of cold noodles for you and we can talk while we eat?"

Shen Lan smiled and stood up: "I'll go buy some cold noodles, you just wait here."

----

The cold noodles that Shen Lan packed back were delicious, but Xu Zhe encountered a small problem.

He wanted to give the money for the cold noodles to Shen Lan, but was rejected.

The cold noodles cost four yuan, and there was a bottle of orange juice for three yuan each. Logically, he should have given him seven yuan, but Shen Lan refused to take any.

"Just consider it my treat, Mr. Xu. Please teach me well."

Xu Zhe: "...Okay, let me show you a case study. To learn programming, I think it's better to start with a vivid case study instead of studying textbooks."

As he said this, he took out the notebook from his schoolbag, placed it on the senior's desk, and turned it on. Then he took out the charging cable and plugged it into the socket on the wall in front of the classroom. After confirming that the socket had power, he was completely relieved.

Shen Lan sat there with one hand on her chin, looked at him, and asked with a smile: "Do you want to use the outsourcing work you did as a teaching case?"

Xu Zhe: "No, those are still too boring. So I wrote a game last night."

Shen Lan was stunned: "You wrote this game yourself?"

Xu Zhe: "Yes, a very simple match-3 puzzle game."

Shen Lan was really confused by this. She knew about mini-games, and she also had some idea about puzzle games, but what was match-3?

However, when Xu Zhe opened the game and let her play it, she quickly understood.

The rules of this game are very simple. There are many small blocks stacked together on the game screen. Every time you click on a small block, it will move to a long box. There are seven positions in the box. Collect three of the same small blocks to eliminate them.

Bananas, corn, cabbage, radish...different types of small squares are distinguished by simple icons.

After playing with it for a while, Shen Lan couldn't help but exclaimed: "You made this by yourself?!"

Xu Zhe: “Yes.”

Shen Lan: "It's a bit like Lianliankan, but different... Have you given it a name?"

"What?" Xu Zhe smiled. "Actually, the name doesn't matter. This game is easy to make."

Shen Lan: "Have you ever thought about posting it online?"

Xu Zhe: "I've thought about it, but it's not appropriate now. Pingguo Store currently only has a buyout system, and can't do free in-app purchases. If I post it online directly like a normal mini-game, it will appear on places like 4399 before it makes money for me. It's too easy for people to pirate it."

Shen Lan blinked, realizing that the information she knew could not be compared with Xu Zhe, so she could only shut her mouth.

Xu Zhe tried to enlighten her by saying, "The logic of this game is very simple. Do you want to think about how to describe it in a purely logical way?"

Shen Lan pondered for a moment and shook her head helplessly: "I really don't know anything about programming."

Xu Zhe: "It's okay, let's ignore the details and talk about the main logic. First, let the computer randomly create blocks and arrange them randomly. When arranging, add three-dimensional coordinates, although it will only display two dimensions. Then, the system checks each block to see if there are other blocks in front of it that block it. If it is blocked, the block will turn gray and cannot be clicked; if it is not blocked, it will keep its original color and can be clicked."

Shen Lan followed his train of thought and subconsciously asked: "Then what?"

Xu Zhe spread his hands and said, "Then everything will be OK."

Shen Lan blinked her eyes and opened her mouth wide: "It's that simple? Impossible!"

Xu Zhe smiled and said, "Of course, there are many details to take care of in actual operation. But the logic of creating a game is that simple. And the player's operation method is just as simple to implement. After the player clicks the block, the number of clicks is added to the stack. Three identical blocks are eliminated. When the total number reaches seven, the player dies and the game ends."

Shen Lan also followed his explanation, stared at the screen and pondered for a while, and suddenly realized a problem in this logic.

"No, that's not right. You can't guarantee that the game has a solution! You might find out halfway through that the block you need is buried underneath, making it impossible to continue playing."

Hearing her say this, Xu Zhe's mouth suddenly opened up and he smiled very happily.

“Hahahaha,” Xu Zhe laughed, “This game is not guaranteed to be completed. No, it should be said that it depends on luck and a lot of attempts to complete it.”

Shen Lan was a little unhappy: "What's the point of spending so much time playing this?"

Xu Zhe: "The meaning of this kind of thing is that it can attract people's time and energy. Or you can also say that the concept of meaning does not exist in the first place... Well, I just wrote a very simple game case to let you understand the idea of ​​programming."

Shen Lan said thoughtfully: "I understand a little bit. It would be great if the computer teacher also taught like you..."

----

Thanks to Samoyed, Fenqi, Yudaozi and Baierqinguanzhongshuchu for their rewards!

By the way, the free reader group of this book is now open. Click on the introduction of the book's homepage in the mobile APP, you can send an application to join the group with one click, and you can pass by answering the protagonist of this book~~

Chapter 74 074 Those Flowers

2023-09-06

When Xu Zhe's right hand had almost recovered, the first monthly exam of the new semester came.

The exam rankings of the first grade class 7, especially the top two, were no longer a foregone conclusion. When the teacher read out the names of Xu Zhe and Song Xingye, the praise was only a few words. The applause from the students was also sparse, and they just dealt with it.

During the break, Xu Zhe spread out his homework and just picked up his pen when he heard Wen Hao's voice: "Brother, your old lover is here again!"

He turned his head to look at Wenhao who was not far away, then turned his gaze to the classroom door and saw the short-haired senior sister with her arms folded in front of her chest and an expressionless face.

Xu Zhe stood up, patted Wenhao on the shoulder, and said, "I'm glad you're willing to call me brother. But I don't like it when you keep saying things like 'old lover'."

Wen Hao couldn't help but mutter: "You are getting better and better at pretending..."

Xu Zhe smiled and stopped arguing with his old friend. Instead, he walked to the classroom door.

According to his previous habit, he should find a quiet place to chat with her. But just as he came out of the classroom, he saw another girl walking towards him.

That was Tang Lingfei, and she had a sad face. She quickened her pace when she saw him.

"Xu Zhe! I failed the exam this time, even worse than last time!"

If there weren't other students coming and going around, Tang Lingfei would have thrown herself on his shoulder and burst into tears. Now that she had restrained herself a little, she also grabbed his arm and shook it vigorously.

Shen Lan took a deep breath, but did not say anything, just watched silently.

"Wait a minute, wait a minute," Xu Zhe comforted Tang Lingfei, then looked at Shen Lan and asked, "What do you want to talk to me about?"

The senior student smiled and said, "I want to talk to you about programming, but now doesn't seem to be the right time to talk?"

Xu Zhe smiled bitterly: "Indeed, maybe next time."

Shen Lan nodded and turned to leave. However, neither Xu Zhe nor Tang Lingfei noticed that this senior student had left, but she did not completely go far. She stopped at the corner of the stairs, hid behind the corner, only showing a small part of her face, and stared.

Xu Zhe certainly didn't notice the senior student observing from the edge of the field. He just patted the back of Xiao Qingmei's hand, asked her to slowly let go of her arm, and asked, "What place did you get this time?"

Tang Lingfei: "31st in the class..."

In a class of more than 40 students, she ranked outside the top 30. Even in her six years of elementary school when she played more wildly, she never got such a ranking. It is not difficult to imagine what kind of storm she will face when she returns home.

Xu Zhe didn't know what to say.

At this time, Song Xingye came over and pulled the two of them a few steps to the side so as not to block the way at the classroom door.

Then the quiet girl said, "I just heard that Feifei's grades are still not very good this time..."

Tang Lingfei had a sad face: "What's not good? It's too bad! I failed both math and English!"

Song Xingye looked at Xu Zhe next to her with a hint of smile in her eyes. Obviously, what she wanted to say was "Why are the grades of childhood friends so different?", but she didn't say it out of consideration for Tang Lingfei's mood at the moment.

Xu Zhe cleared his throat and said, "If there is a problem, it must be solved. Feifei, you have two problems now. One is how to pass the test of your parents, and the other is how to improve your grades in the future."

Tang Lingfei: "Let's talk about the first question first! I don't want to go home and be scolded by them for three days and three nights. No, no, no, more than scolding, my mother might even beat me up, and she will definitely cut off my pocket money..."

The more she said this and imagined it, the more the girl felt that the future was bleak. It was as if a great disaster was waiting for her not far away.

Song Xingye, who was smaller than her, stood on tiptoe and reached out to pat her friend's head gently as a comfort. But this kind of comfort did not solve the actual problem.

Xu Zhe tried to come up with a solution: "In fact, the first and second questions can be combined. If you want to pass the test with your parents, you can definitely come up with a plan. Tell them not to panic, you will definitely improve on the next test, and try to get them to let you go this time."

Tang Lingfei: "But, what plan do I have?"

Song Xingye was still patting her head gently, but suddenly he thought of something and patted it a little harder.

Tang Lingfei's head tilted when she was hit, and she subconsciously looked at Song Xingye.

Song Xingye said, "You can ask Xu Zhe to tutor you! For example, Xu Zhe is still the top student in the grade this time, with full marks in math and only two points away from full marks in English. There will be no problem tutoring you."

Tang Lingfei: "Is this okay?"

Xu Zhe: "Xiao Ye Zi is right. I think we can give it a try."

While he was speaking, he was also thinking about why Tang Lingfei's grades were getting worse and worse.

She had signed up for a tutoring class but it had the opposite effect, which means that she really didn't study hard in the tutoring class and was just fooling around. As long as children of this age are serious, they can basically keep up with the knowledge in the junior high school textbooks. If they can't keep up, it is most likely not a problem of ability, but an attitude or psychological problem.

In other words, we need to solve the problem of "not wanting to learn" first.

Thinking of this, Xu Zhe continued, "Fei Fei, you can go back and tell your parents to let me tutor you. Tutoring classes are of no use to you and a waste of money, right?"

Tang Lingfei agreed and nodded vigorously: "It's useless! I'll be very annoyed when I get there."

Xu Zhe: "But I'm different. I can be your tutor. I can first solve your mentality problems and then provide targeted counseling. Besides me, Xiao YeZi can also tutor you."

Song Xingye was slightly startled: "And me?"

"Yes, and you too! Please, please, if you can help me get through this, you two will really be my saviors!"

Tang Lingfei was like a drowning person who grabbed two lifebuoys, holding on to the two men's arms and refusing to let go.

Xu Zhe laughed: "I am your savior."

"Yes, you saved me twice! I have no way of repaying you..."

Before Tang Lingfei could finish her words, Song Xingye slapped her on the head. The blow was not strong, but it was enough to interrupt her.

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

You'll Also Like