From a31aa9554be5d50e154f21e554c7d19cd313ef23 Mon Sep 17 00:00:00 2001 From: fdai7103 Date: Wed, 8 Feb 2023 19:09:22 +0100 Subject: [PATCH] Struct Player angelegt --- src/Paper-Bin.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 649bb71..c9fa602 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -12,6 +12,13 @@ int Bally = 27; int fieldWidth = 25; int fieldHeigth = 30; +struct Player +{ + char Name[50]; + int Points; +}playerlist[11]; + + void buildBin(int width, int heigth){ field[width][heigth] = 'V'; field[width+1][heigth+1] = '\\';