Rule Strange: Urban Legends That Don't Exist
Chapter 625 [Chapter of the Game of Death] 74: Chen Yan's Game
Before finding information about the William Adams Group, Chen Yan saw a lot of "useless information".
In the empire, apart from cities like Yanan that have just entered industrialization, there are also some cities that have had a long history of industrialization. The transformation process of the modern entertainment industry is quite fast and perfect, and a large number of entertainment projects that have been spawned are now decently moved to the Internet, and gradually improved by more and more powerful programmers. Until now, there have been quite a few "Entertainment".
At the same time, Chen Yan discovered that the game industry in the entire online world is underdeveloped, perhaps because the world has not been industrialized for a long time, and there are not many technology trees in programming, so even if there are game companies, The game industry has not yet been dug deep.
When Chen Yan was wandering around, what he saw most were strategy games, which he didn't like much.
Apart from that, there is nothing else.
'It's boring, it's boring...'
Looking at such a vast network world and so many data streams, Chen Yan suddenly had an idea in his heart:
If there's no game to play, why don't I make one myself?
'How about making a game...make a...let's make a game about Yanan City. '
A flash of light flashed through his mind, and he realized something very important to him.
'Just... just hack any server at random, and build a game server based on this server. '
Chen Yan randomly chose a newspaper server by his side, entered it, connected to the newspaper computer through the server, and started programming.
'Call through the network and count the user information of Yanan City currently accessing the network. '
'Set constants based on user information:
1 The total population of Yanan City (the server can carry the upper limit of clients)
2 Resource controllers (Yanan city councilors, office staff of functional agencies under the council, and power holders within the system)
3 Urban middle class (non-industrial business owners, industrial business owners, people's livelihood function business owners, high-level executives of various enterprises)
4 People close to the middle class (owner farmers with means of production, handicraft owners, small intellectuals, student circles, primary and secondary school teachers, small staff, small office workers, small lawyers, small businessmen (self-sufficient or those with surplus money and rice) )
4.1 Students do not participate in production activities, so they do not belong to a separate constant, depending on their production relationship
5 Almost proletarians (own farmers, poor peasants, small handicraftsmen, shop assistants, and peddlers who have not yet owned the means of production, or have a small amount of means of production)
6 Proletarians (workers engaged in labor-intensive industries such as railways, mines, shipping, textiles, shipbuilding, etc.)
6.1 Homeless proletarians (social groups, cults, private business groups, unregistered enterprises)'
'Call and collect information on social enterprises in Yanan City through the network. '
'Set variables:
1 Enterprise (quantity, type, production capacity, number of employees, profitability, salary payment, employee satisfaction)
2. Social function facilities (values that can be collected from various types of markets, necessities of life, cost benefits, etc.)
3 Recreational facilities (cost, Lilan, health level)
4 Production costs (operating costs and non-operating costs)
5 Workers' wages (actually received wages in all cases)
6 Business Owner Profit (Net Profit)
7 Work conditions of workers in the enterprise (the level of working environment refers to the Industrial Supervision Law of Yanan City, public opinion surveys and conclusions are made on the oldness of operating equipment, and network data collection and grading are carried out on the enthusiasm of workers)
8 Worker satisfaction with work and wages (i.e. life satisfaction)
9 unemployment rate
10 [Strike]: When the life satisfaction reaches a certain value, the server will enter the state of [Strike]
The social form of 【Strike】state is as follows:
...'
According to the social situation of the strike state in memory, Chen Yan wrote about a dozen factors that affect the variables.
Then proceed to program setting:
'Easy link to set the relationship between variables and constants:
1 The wages of workers are directly proportional to the degree of life satisfaction. The formula for calculating the degree of satisfaction is:
(Life satisfaction degree = (earned salary in one year - living expenses - average unexpected expenses) / total disposable salary in a year, the larger the data obtained, the higher the degree of satisfaction, the smaller the value obtained, the degree of satisfaction lower)
(When life satisfaction is greater than the average satisfaction ratio collected by big data, the work efficiency of workers will increase, and the specific improvement value is the work efficiency collected by big data as a reference)
(When the degree of life satisfaction is equal to or less than the ratio of ... (as above), the work efficiency of workers will gradually decrease as the value decreases)
(A strike occurs when the life satisfaction value is less than a certain level (average life satisfaction of factory workers where strikes have occurred so far))
2 When a strike occurs, the number of businesses affected
3 The positive and negative proportions of the content of the enterprise variable and the wages of workers are calculated through the data collected in the network
4 The operation of entertainment facilities is linked to the unemployment rate and wages of workers'
When setting up here, Chen Yan looked at the messy code in front of him, and realized that his setting was too simple. Although there was a certain logic, many variables were not considered.
'Well... there is always nothing wrong with a correct general program as the basis. '
Chen Yan continued to set the program through the quantum clone:
'Higher priority logic:
1 When workers are satisfied with their work and wages to a certain extent, a [strike] occurs
2 When a strike occurs, all other variables are affected
3 When a strike occurs, the constant is changed
4 When a strike occurs, calculate the strike result according to the variable characteristics'
Here, Chen Yan hesitated.
Since it can be changed, it cannot be regarded as a constant.
According to the operating logic of the program he set, the entire program will first refer to the constant and calculate the variable.
When the calculated data reaches the condition of 【Strike】, the constant will be changed accordingly.
The changed constant will continue to be used as a constant and put into the calculation of the server, and when the obtained data result does not reach the level of [strike], the state of [strike] ends.
'Highest priority logic:
[All data is based on credible data collected from the Internet, the actual situation data of Yanan City is collected at any time during the entire game process, and adjustments are made based on these data]'
'The server is open and running,'
'start operation. '
When the quantum avatar sent out the idea of "start running", dense codes written by the computer according to the logic set by him immediately appeared in the server.
Since he edited the program based on a newspaper server, his own brain operation was not affected.
Chen Yan's own level is not good, and the program written according to his logic has many bugs.
Fortunately, Quantum Clone can fix some bugs by himself, and his luck is not bad, so many bugs do not affect the operation of the game.
'There is no problem with running, but it will be laggy when playing, because there is no optimization at all...'
I don't know if anyone will play this kind of simulator game.
'If someone wants to play it, I need to put the link of this game in most areas of the Yanan City network to attract traffic. '
'As for the name of the game... let's call it 【Strike Simulator】. '
'Put it on the server, whoever wants to play can play, with [all data is based on credible data collected from the network as a reference, the actual situation data of Yanan City is collected at any time during the entire game process, and program adjustments are made based on these data] This The logic is there, who knows what this game will look like in the end. '
After Chen Yan packaged the [Strike Simulator], he threw it into the server and left it alone.
In the empire, apart from cities like Yanan that have just entered industrialization, there are also some cities that have had a long history of industrialization. The transformation process of the modern entertainment industry is quite fast and perfect, and a large number of entertainment projects that have been spawned are now decently moved to the Internet, and gradually improved by more and more powerful programmers. Until now, there have been quite a few "Entertainment".
At the same time, Chen Yan discovered that the game industry in the entire online world is underdeveloped, perhaps because the world has not been industrialized for a long time, and there are not many technology trees in programming, so even if there are game companies, The game industry has not yet been dug deep.
When Chen Yan was wandering around, what he saw most were strategy games, which he didn't like much.
Apart from that, there is nothing else.
'It's boring, it's boring...'
Looking at such a vast network world and so many data streams, Chen Yan suddenly had an idea in his heart:
If there's no game to play, why don't I make one myself?
'How about making a game...make a...let's make a game about Yanan City. '
A flash of light flashed through his mind, and he realized something very important to him.
'Just... just hack any server at random, and build a game server based on this server. '
Chen Yan randomly chose a newspaper server by his side, entered it, connected to the newspaper computer through the server, and started programming.
'Call through the network and count the user information of Yanan City currently accessing the network. '
'Set constants based on user information:
1 The total population of Yanan City (the server can carry the upper limit of clients)
2 Resource controllers (Yanan city councilors, office staff of functional agencies under the council, and power holders within the system)
3 Urban middle class (non-industrial business owners, industrial business owners, people's livelihood function business owners, high-level executives of various enterprises)
4 People close to the middle class (owner farmers with means of production, handicraft owners, small intellectuals, student circles, primary and secondary school teachers, small staff, small office workers, small lawyers, small businessmen (self-sufficient or those with surplus money and rice) )
4.1 Students do not participate in production activities, so they do not belong to a separate constant, depending on their production relationship
5 Almost proletarians (own farmers, poor peasants, small handicraftsmen, shop assistants, and peddlers who have not yet owned the means of production, or have a small amount of means of production)
6 Proletarians (workers engaged in labor-intensive industries such as railways, mines, shipping, textiles, shipbuilding, etc.)
6.1 Homeless proletarians (social groups, cults, private business groups, unregistered enterprises)'
'Call and collect information on social enterprises in Yanan City through the network. '
'Set variables:
1 Enterprise (quantity, type, production capacity, number of employees, profitability, salary payment, employee satisfaction)
2. Social function facilities (values that can be collected from various types of markets, necessities of life, cost benefits, etc.)
3 Recreational facilities (cost, Lilan, health level)
4 Production costs (operating costs and non-operating costs)
5 Workers' wages (actually received wages in all cases)
6 Business Owner Profit (Net Profit)
7 Work conditions of workers in the enterprise (the level of working environment refers to the Industrial Supervision Law of Yanan City, public opinion surveys and conclusions are made on the oldness of operating equipment, and network data collection and grading are carried out on the enthusiasm of workers)
8 Worker satisfaction with work and wages (i.e. life satisfaction)
9 unemployment rate
10 [Strike]: When the life satisfaction reaches a certain value, the server will enter the state of [Strike]
The social form of 【Strike】state is as follows:
...'
According to the social situation of the strike state in memory, Chen Yan wrote about a dozen factors that affect the variables.
Then proceed to program setting:
'Easy link to set the relationship between variables and constants:
1 The wages of workers are directly proportional to the degree of life satisfaction. The formula for calculating the degree of satisfaction is:
(Life satisfaction degree = (earned salary in one year - living expenses - average unexpected expenses) / total disposable salary in a year, the larger the data obtained, the higher the degree of satisfaction, the smaller the value obtained, the degree of satisfaction lower)
(When life satisfaction is greater than the average satisfaction ratio collected by big data, the work efficiency of workers will increase, and the specific improvement value is the work efficiency collected by big data as a reference)
(When the degree of life satisfaction is equal to or less than the ratio of ... (as above), the work efficiency of workers will gradually decrease as the value decreases)
(A strike occurs when the life satisfaction value is less than a certain level (average life satisfaction of factory workers where strikes have occurred so far))
2 When a strike occurs, the number of businesses affected
3 The positive and negative proportions of the content of the enterprise variable and the wages of workers are calculated through the data collected in the network
4 The operation of entertainment facilities is linked to the unemployment rate and wages of workers'
When setting up here, Chen Yan looked at the messy code in front of him, and realized that his setting was too simple. Although there was a certain logic, many variables were not considered.
'Well... there is always nothing wrong with a correct general program as the basis. '
Chen Yan continued to set the program through the quantum clone:
'Higher priority logic:
1 When workers are satisfied with their work and wages to a certain extent, a [strike] occurs
2 When a strike occurs, all other variables are affected
3 When a strike occurs, the constant is changed
4 When a strike occurs, calculate the strike result according to the variable characteristics'
Here, Chen Yan hesitated.
Since it can be changed, it cannot be regarded as a constant.
According to the operating logic of the program he set, the entire program will first refer to the constant and calculate the variable.
When the calculated data reaches the condition of 【Strike】, the constant will be changed accordingly.
The changed constant will continue to be used as a constant and put into the calculation of the server, and when the obtained data result does not reach the level of [strike], the state of [strike] ends.
'Highest priority logic:
[All data is based on credible data collected from the Internet, the actual situation data of Yanan City is collected at any time during the entire game process, and adjustments are made based on these data]'
'The server is open and running,'
'start operation. '
When the quantum avatar sent out the idea of "start running", dense codes written by the computer according to the logic set by him immediately appeared in the server.
Since he edited the program based on a newspaper server, his own brain operation was not affected.
Chen Yan's own level is not good, and the program written according to his logic has many bugs.
Fortunately, Quantum Clone can fix some bugs by himself, and his luck is not bad, so many bugs do not affect the operation of the game.
'There is no problem with running, but it will be laggy when playing, because there is no optimization at all...'
I don't know if anyone will play this kind of simulator game.
'If someone wants to play it, I need to put the link of this game in most areas of the Yanan City network to attract traffic. '
'As for the name of the game... let's call it 【Strike Simulator】. '
'Put it on the server, whoever wants to play can play, with [all data is based on credible data collected from the network as a reference, the actual situation data of Yanan City is collected at any time during the entire game process, and program adjustments are made based on these data] This The logic is there, who knows what this game will look like in the end. '
After Chen Yan packaged the [Strike Simulator], he threw it into the server and left it alone.
You'll Also Like
-
A five-year-old Daluo Jinxian? I simulated binding with the prehistoric world.
Chapter 88 6 hours ago -
I got rich by extracting skills from games
Chapter 204 6 hours ago -
Houfu Key Class
Chapter 548 20 hours ago -
The Record of Righteousness
Chapter 227 22 hours ago -
God rewards hard work: Farming and cultivating immortality
Chapter 552 23 hours ago -
I work as a security guard at Marvel.
Chapter 173 1 days ago -
Wizard: I have an inventory
Chapter 65 1 days ago -
The Unspeakable Diary
Chapter 583 1 days ago -
Since the Spring and Autumn Period and the Warring States Period, he has been regarded as a god.
Chapter 232 1 days ago -
Iron Cross Fire
Chapter 5120 1 days ago