TUD Logo

TUD Home » ... » Operating Systems » Teaching » Primary Lab

Operating Systems

Primary Lab: Game Strategies

The first round of the lab starts with an introductory meeting on Tuesday, 5th March 2019 at 10.00 AM in room APB E023.
Students in the second round meet on 13th March 2019, at 10.00 AM in room GER 037.


The primary lab will help students develop their individual programming skills. It is, however, not a programming course. Participants are expected to have sufficient knowledge of C or C++ as well as some practical experience with programming.

The assignment is to build a game-playing software which allows the computer to autonomously act as one player in a two-player strategy game. This computer opponent has to follow the rules of the game and should of course try to win. At the end of the lab, two solutions from different students can play against each other and a tournament will single out the best winning strategy.

Participants will be randomly assigned one of the following games:


The rules of the lab are explained in the introductory slides (only available in German) and will be presented at the introductory meeting. We also provide answers to some frequently asked questions (only available in German).


  • The lab takes place at the end of the semester, after the time for regular courses.
  • This lab is mandatory for students intending to graduate with a Diploma in computer science. The overall primary lab is divided in two segments, in addition to the “Strategy Games” part here, students also have to attend the “Robot Lab” of the Systems Engineering Group.
  • We will organize two rounds in the following time periods:
    • 5th March 2019 – 12th March 2019 (submission until 16:00)
    • 13th March 2019 – 20th March 2019 (submission until 12:00/noon)
  • Students can freely choose which round to attend, but we strongly advise against participating in the Robot Lab and the Game Strategies part in the same week.
  • Both rounds start with a central introduction on the 5th or 13th March, respectively.


If you have never used C or C++ before, we strongly advise you to get acquainted with one of the two languages before the lab. Here are some book suggestions to help you get started:

  • For Beginners: Lippman, Stanley B., Josée Lajoie, and Barbara E. Moo. “C++ Primer”
  • For students who have programmed in other languages: Stroustrup, Bjarne. “A Tour of C++”

Both of these books are available in the SLUB as text-books and in an electronic versions.

Furthermore, there are extensive lists of books on C and C++ on StackOverflow.

Last modified: 15th Mar 2019, 11.59 AM
Author: Webmaster

Time and Place

Meetings are conducted by arrangement.