Game theory is a branch of modern applied mathematics that aims to analyze various problems of conflict between parties that have opposed, similar or simply different interests. There is no single game theory which could address a wide range of "games". At the same time there are common optimality principles applicable to all classes of games, but the methods of effective computation of solutions are very different. This book offers to explain the basic principles in game theory, and bring the reader to the ability to solve problems.