O'Reilly logo

Programming Game AI by Example by Mat Buckland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

lua_State structure, 257
Luabind, 276-285
bases template parameter, 280
creating classes in Lua, 281-282
exposing C++ classes, 279-281
exposing C++ functions, 278-279
module, 277
scopes, 277-278
self keyword, 281
setting up, 276-277
super keyword, 282
luabind::def library function, 278, 279
luabind::functor library object, 285
luabind::iterator library object, 284
luabind::module library function, 277
luabind::object library object, 282-285, 286
luabind::object_cast library function, 283
luabind objects,
at() and at[], 283-284, 286
begin(), 284
bool, 284
end, 284
is_valid, 284
luabind::open library function, 277
M
machine code, 251
Manhattan distance heuristic, 243, 246-247,
353
map editor, 300, 409
mass, 29
mathematics, 1-28
MaxAv, see average of maxima
maximum search depth, 222
maximum speed, field player, 158
MDK 2, 255
mean of maximum (defuzzification method),
433-434
Melhuish, Chris, 118
membership function,
and fuzzy logic, 419-421
clipping, 432
mathematical notation, 421
memory, 314
map, 319
of state, 406-410
record, 319
short-term, 314
memory management, and Lua, 276
MemoryRecord C++ struct, 319
message,
dispatch and management, 71
enumerated type, 70
example of delayed, 80
handling, 75-77
MessageDispatcher C++ class, 71, 73-75
MessageDispatcher::Discharge method 74
MessageDispatcher::DispatchDelayedMessage
method, 75
MessageDispatcher::DispatchMessage
method, 74
messages, field player, 156-159
messaging,
and Simple Soccer, 145
FSM, 69-77
metatable, 263, 276
micromanagement, 412
Miner Bob, 50
Miner C++ class, 53, 66
mistakes, deliberate, 189
mods, 252
module, Luabind, 277
MOM, see mean of maximum
motion,
field player, 155
goalkeeper, 170
movement constraint, graph edge, 391
movement, of Raven bot, 315
moving platform, negotiating, 408
MovingEntity C++ class, 87
N
navgraph, see navigation graph
NavGraphEdge C++ class, 350
NavGraphNode C++ class, 205, 341
navigation graph, 198, 333
adding items, 341-342
and terrain, 333
cell, 333
coarsely granulated, 336-339
construction of, 333-342
expanded geometry, 335
finely granulated, 339
488 | Index

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required