TAILIEUCHUNG - Game Programming All in One 2 nd Edition phần 9

robably điều tôi không thích nhất về một số trò chơi là làm thế nào các cheats máy tính. Tôi đang chơi trò chơi chiến lược của tôi và tôi phải mất 10 phút tìm kiếm, đơn vị mình trong khi họ tự động biết nơi có mỏ, loại, năng lượng của họ, và như vậy. Đây không phải là thực tế là họ ăn gian để làm cho trò chơi khó khăn hơn, | CHARTER 18 Introduction to Artificial Intelligence Probably the thing I dislike most about some games is how the computer cheats. I m playing my strategy game and I have to spend 10 minutes finding their units while they automatically know where mine are which type they are their energies and so on. It s not the fact that they cheat to make the game harder it s the fact that they cheat because the artificial intelligence is very weak. The computer adversary should know just about the same information as the player. If you look at a unit you don t see their health their weapons and their bullets. You just see a unit and depending on your units you respond to it. That s what the computer should do that s what artificial intelligence is all about. In this chapter I will first give you a quick overview of several types of artificial intelligence and then you will see how you can apply one or two to games. In this chapter I m going to go against the norm for this book and explain the concepts with little snippets of code instead of complete programs. The reason I m doing this is because the implementation of each field of artificial intelligence is very specific and where is the fun in watching a graph give you the percentage of the decisions if you can t actually see the bad guy hiding and cornering you Complete examples would basically require a complete game For this reason I will go over several concrete artificial intelligence examples giving only the theory and some basic code for the implementation and it will be up to you to choose the best implementation for what you want to do. Here is a breakdown of the major topics in this chapter Understanding the various fields of artificial intelligence Using deterministic algorithms Recognizing finite state machines Identifying fuzzy logic 563 564 Chapter 18 Introduction to Artificial Intelligence Understanding a simple method for memory Using artificial intelligence in games The Fields of Artificial Intelligence There .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.