Chapter 14 This game has bugs
Twenty days into the competition, "2048" began to emerge and spread among some colleges and universities.
Su Chen has been developing the "language of God" in a rental house, and has entered a state of self-forgetfulness, not knowing all this.
In a university dormitory.
As a fan of small games, Xiao Li usually chats with a group of like-minded netizens in the QQ group.
"Mini Game Lovers Alliance" QQ group, there are many games recommended by netizens are not bad.
I browsed through the chat group.
Everyone is discussing the "2010 Binhai Creative Game Competition".
"Surfing by the Sea is good, it's fun, you can try it."
"How can there be any fun in "Sacred Legends", this is a game made by John Sheen, who won the runner-up of the Global Game Creation Festival."
"This kind of foreign bigwig, I'm embarrassed to come to China to participate in this kind of small competition, the key is not to win the first place, it's too embarrassing."
"What do you know, Li Xiaotian, the author of the first place "Please Come to the Ends of the World", Guorui Building is the child's father, the prizes provided by their family, do you dare not give face to the website, the recommended position is enough, and the painted pig can rank first."
"Hehe, you don't know, "2048" is the most fun game, you must play it."
"Yes, yes, whoever plays "2048" knows."
These games, except for "2048", Xiao Li have played them all, and several of them are really interesting.
What game is 2048?
Several people said it was fun, it should be good, play and see.
On the Contest page, find the game.
With an average score of 9.7, it must be a good game with such a high score, and the sense of anticipation for it is immediately full.
Click Start.
On the screen, two squares appear, both of which say "2".
If you look at the rules of the game, two "2s" together will become "4".
Drag the squares and merge.
A weird scene happened, the two squares were combined, and a new "2" was produced, and it was slightly larger than the original, the squares kept repeating the merge animation, very fast, quite ghostly, and more and more "2s" were produced on the screen, until finally, the entire screen was full of "2", and the computer was completely stuck.
Coincidentally, the sound effect of the two squares together is "mile", and the computer keeps playing "mile 2...... Miles 2...... mile 2 ......".
Made!
You're only two fucking two.,There's something wrong with this author.,Specially make a game to scold people.,Psychopath.。
I wrote the paper for 2 hours, and I haven't saved it yet!
How can this kind of garbage game have such a high rating of 9.7?!
This year's netizens are a bit cheating......
If you can harm me, I can't harm others......
Restart the computer.
gave "2048" a score of 10 and left a message.
"It's so fun, I've never played such a fun game, I have to play it every day."
After doing all this, my heart was dark.
He instantly understood why the rating of "2048" was as high as 9.7 points.
In the comment area, most of the other messages have the same mentality as him.
"If you go up, you have to score 10 points."
"10 points, I cried, why do I think of my second grandfather who loves me the most when I play games......"
"This game is really rubbish.,I didn't dare to shut down the data if I didn't save it.,I was scolded all night.,0 points!"
"Brothers, give me a 10 point, let them know what it means to doubt life, and don't let me be fooled alone."
"Every day, I'm uncomfortable."
Such a similar scene happens in many places that pay attention to game competitions, especially in major universities.
Su Chen finished his day's work and stretched.
After looking at the time, there are only 10 days left in the competition, and I plan to put down the development work first and take the competition seriously.
I don't know what rank "2048" is now.
Open the website.
Top few, little changed.
"2048" is worthy of being a popular game in 2014, from more than 600 to 29 in just a few days.
The number of clicks is 62,580, 4,187 player ratings, and the average score is 9.7 points.
On the single-day click list, he won the first place, with 40,000 clicks, and he beat the second place "Sacred Legend" by 5 times, which is very terrifying, and the latter's daily clicks are only more than 6,000......
On the game rating list, it is also the first, with a score of 9.7 points, and the second place is "Sacred Legend", with an average score of 9.3 points.
Su Chen is very satisfied with this result, at this rate, maybe it can really reach 1 million hits.
Especially the double list suppressed John Sean to death, and it is estimated that this guy will be so angry that he vomits blood.
It's a very refreshing feeling!
Su Chen plans to add another fire and add a leaderboard function, the fewer steps players use, the higher the ranking.
Entries are allowed to be updated.
Only then did I remember that I didn't seem to have played the game once after uploading it.
Open the source code and try running the game.
After playing with it, the computer was stuck!
Su Chen is embarrassed, this eighty percent has a bug!
It's embarrassing......
Restart the computer, check the source code, and sure enough, I found a bug, such a low-level error, the old face has no place to put it, I can only enlighten myself, and the saint also makes mistakes.
There were only ten minutes of development that day, and I made an error in my busy schedule, and I made a function into an endless loop.
Fix the code and add the leaderboard feature.
Because of the addition of the leaderboard function, you need to rent a server, write a database to store data, and do it for a whole day.
After finishing it this time, I didn't dare to be careless, so I checked it carefully.
No bugs, perfect!
Only then did it upload to the website and update the previous version.
Binhai Creative Game Competition, Main Committee.
Several members of the competition staff are in a meeting to discuss things.
"You say, what do you do with the game "2048"? There are already a lot of contestants who have called to complain that the competition is unfair. ”
"It's definitely not okay to take it off the shelves, "2048" has a strong momentum in the past two days, and it has spread in colleges and universities, Weibo, QQ space, and Qiandu Tieba, there are many student parties sharing links, which has attracted a lot of traffic for us, and yesterday it jumped directly from more than 300 to more than 20, and the number of clicks increased by more than 40,000 a day!"
"It's not okay to leave it alone, after all, there are indeed bugs, which will affect the authority of our game competitions, and maybe even bring a negative image to our travel website."
"In this case, you notify the author first, and ask him to upload a version without bugs immediately."
One of the staff members, who was about to send a message to the author, found that "2048" had just been updated with a version.
He quickly called the other staff over and played the game, and there were no bugs.
"2048" itself relied on the bug crash to rectify the whole person, and it was only spread in colleges and universities, and now there is no bug, and whether there is continuous concentration, they can't be sure.
At the very least, it is now possible to gag those contestants.
"What now?"
"Clear the data of '2048' to zero, so that those contestants don't chew on the root of their tongues."