An open API service indexing awesome lists of open source software.

https://github.com/quonverbat/cardboard-pirates

2-player ship combat game, built with SDL and C++
https://github.com/quonverbat/cardboard-pirates

2-player combat game sdl2 ships

Last synced: 4 months ago
JSON representation

2-player ship combat game, built with SDL and C++

Awesome Lists containing this project

README

          

# Cardboard-Pirates
2-player ship combat game, built with [SDL](https://github.com/libsdl-org/SDL) and C++.

![image](https://github.com/user-attachments/assets/9427135b-6422-48ca-ab22-38e2036a3f70)

## Prerequisites
- [SDL](https://github.com/libsdl-org/SDL) (version 2)
- [SDL_mixer](https://github.com/libsdl-org/SDL_mixer) (version 2)
- [SDL_image](https://github.com/libsdl-org/SDL_image) (version 2)
- [SDL_ttf](https://github.com/libsdl-org/SDL_ttf) (version 2)
- A compiler.

# Linux
## Installation
### Arch:
```bash
sudo pacman -S sdl2 sdl2_mixer sdl2_image sdl2_ttf
```
---
### Ubuntu/Debian:
```bash
sudo apt-get install libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev
```
---

### Gentoo:
```bash
sudo emerge media-libs/libsdl2 media-libs/libsdl2_mixer media-libs/libsdl2_image media-libs/libsdl2_ttf
```
## Compilation
``` bash
make -j $(nproc)
```

## Windows
You can download the `.exe` file from the `Releases` section, or compile it yourself based on your environment by downloading the release with the `-source` suffix (DLLs are included).