GDCV1845/GDSS1845 –Videogames and arts
Class 10
Simulation game
Class 10
Schedule
Simulation
Artificial intelligence
Artificial life
Physics simulation
Newton’s laws of motion
Simulation of movement, velocity, acceleration, collision,
elasticity, etc.
Physics simulation
Physics simulation
Flight simulation
Crayon Physics
Particles system
Fuzzy phenomenon
Simulation of smoke, fire, water, bird, etc.
Particles dream – Karl Sims
Boid – Flock Simulation
Crowd Simulation
Artificial intelligence
AlanTuring
A human being engages in conversation with two parties;
one is a human and another a machine/computer.The
conversation can be text typing or voice. If the human being
cannot tell apart which one is a human and which is the
machine.The design of the machine is considered to pass
theTuring test.
Eliza – Joseph Weizenbaum
Chatterbot – George
Artificial intelligence
Intelligent conversation
Is intelligent conversation equal to intelligence in general?
Deep Blue – IBM 1996
Google – Alpha Go 2016
Artificial intelligence
Playing chess
Is the ability to play chess equal to intelligence?
Frankenstein
Robotics
Artificial intelligence
Robotics
Robot can perform automatically.One of the common tasks
is path finding.
Move from the cell (20) to (4)
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
Path finding
Stupid algorithm
It starts to go toward the direction x.
If it is blocked, it rotates clockwise to try.
When every direction fails, it retreats back.
Path finding
Distance from destination
To avoid stupidity, first, we need to measure how far you are
from the destination (4) from any position on the grid.
distance = abs(current_x - destination_x) + abs(current_y -
destination_y);
Distance
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
Distance measurement
From cell 20 to 4, the distance is
4 + 4 = 8
We move the robot from 20 to 4
such that every move will
shorten the distance from 4.
Number of steps
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
Shortest path
At the same time, we need to
remember how many steps we
have traveled from its starting
point 20.
Number of steps
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
f = g + h
g is the sum of the costs of every
cell visited along the path to the
current cell; h is the heuristic
function to indicate the distance
from the current cell to the
destination.
Complicated algorithm
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
Two lists
Open list – available nodes to
travel;
Closed list – nodes traveled and
failed.
Complicated algorithm
Put the start node in the open list;
While the open list is not empty do:
Remove the cheapest node A from the open list;
If it is the destination, done;
For all available node B next to A:
Calculate a cost to B;
Check if B is on open list or closed list;
If so and B is more expensive, discard it;
If not or this path is cheaper, move B to open list;
Add A to closed list.
Artificial life
Can life be simulated?
Use computational means to simulate the ecological and
biological aspects of life and organism.
Artificial life – Karl Sims
Life system – Rebecca Allen
Insect project – Hung Keung
Property of life form
Reproduction
How computation can model or simulate reproduction
process in nature?
Game of life – John Conway
BabyZ 1999
Tamagotchi
Game of Life – Milton Bradley 1860
Sims
BUILD BUY LIVE
The IKEA Game
Will Wright
Sims, BattleBots, Cellular Automata God and Go
A Conversation with Will Wright by Celia Pearce
2001
Sims usage pattern
Sims – Zodiac
Sims – Family Member
Sims – Gender
Sims – Career
Sims 2 – PsychologyTool
Self-Portrayal in Simulated Life: Projecting
Personality andValues inThe Sims 2
Thaddeus Griebel, 2006
Aibo
Max Dean - Chair

Class 10 - Simulation games