Compare commits

...

2 Commits

Author SHA1 Message Date
4dbe11ccf9 Change number of balls in game 2026-04-26 19:19:21 -04:00
6fbbdedebe Fix missing libraries 2026-04-26 19:17:06 -04:00
3 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Compiler and flags
CC = gcc
CFLAGS = -Wall -g
LIBS = -lncurses
LIBS = -lncurses -lm
# Source files
NETPONG_SRC = main.c $(wildcard src/*.c) $(wildcard src/network/*.c)

View File

@@ -3,7 +3,7 @@
#include "network/networking.h"
#define NUM_OF_BALLS 2
#define NUM_OF_BALLS 6
// Setup game board

View File

@@ -5,6 +5,7 @@
#include <unistd.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <signal.h>
static Server *g_server = NULL;