Skip to content
GitLab
  • Explore
  • Sign in

Admin message

To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

  • disco
  • Public
  • Teaching
  • Fachpraktikum
  • WikiWiki
  • Wiki
  • 2 Sockets & Shotgun

2 Sockets & Shotgun · Changes

Page history
update Sockets & Shotgun authored Jan 30, 2019 by Roland Schmid's avatar Roland Schmid
Hide whitespace changes
Inline Side-by-side
2-Sockets-&-Shotgun.md
View page @ 41e69b33
......@@ -5,7 +5,7 @@ computer crashes…
In this fachpraktikum you will learn about socket programming and text
based protocols. You will implement a bot that plays games of shootout.
Edit
## Shootout
Shootout is a very simple kids game in which you try to shoot your
opponent. In each round of the game, each player chooses one of three
......@@ -27,7 +27,7 @@ before revealing the moves to both players. Also, the server keeps track
of each player’s performance (see
[scoring](http://virt34.ethz.ch:8000/index.html)).
Edit
## Exercises
1. Connect to the server using `telnet [url] [port]`. When connected,
authenticate yourself with the token given to you by the assistant
......@@ -69,7 +69,7 @@ Edit
games against several other teams in parallel. Each game is
identified by a unique game ID (cf. Server commands below).
Edit
## Commands
Basic (Exercises 1-4):
......@@ -111,7 +111,7 @@ From Server:
- `Error <GameId> <Error Text>`: If something goes wrong, you get an
Error message with a little description.
Edit
## Mount your home directory
You can use the following commands to connect to your home directory:
......
Clone repository
  • 1 Bash & Git
  • 2 Sockets & Shotgun
  • 3 Mario Kart Disassembly
  • 4 Web Crawling
  • 5 Parallelization in Minecraft
  • 6 Python and SQLAlchemy
  • Home