diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..6dcefbfa3ecfce19508d5362d209e96caac605dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,53 @@
+# Executable and object files
+*.o
+*.out
+*.exe
+*.obj
+
+# Dependency files
+*.d
+
+# Library files
+*.lib
+*.a
+*.so
+*.dll
+*.dylib
+
+# Build directories
+/build/
+/bin/
+/Debug/
+/Release/
+
+# IDE-specific files
+*.log
+*.workspace
+*.cproject
+*.project
+.idea/
+.vscode/
+
+# Temporary or backup files
+*.swp
+*.tmp
+*.temp
+*.bak
+*.old
+*.orig
+*.rej
+*~
+puissance4
+
+# Testing files
+*.gcno
+*.gcda
+*.gcov
+
+# Windows-specific files
+*.pdb
+Thumbs.db
+desktop.ini
+
+# macOS-specific files
+.DS_Store