Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fizzygalacticus/battleship
CS372 Project 1 - Make a Battleship game
https://github.com/fizzygalacticus/battleship
Last synced: 9 days ago
JSON representation
CS372 Project 1 - Make a Battleship game
- Host: GitHub
- URL: https://github.com/fizzygalacticus/battleship
- Owner: FizzyGalacticus
- Created: 2014-03-02T01:05:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-26T20:53:27.000Z (over 10 years ago)
- Last Synced: 2023-08-12T15:21:33.773Z (over 1 year ago)
- Language: C++
- Size: 14.9 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Battleship
###CS372 Project 1 - Make a Battleship game
####Compiling on different systems
**Windows** - "g++ main.cpp Sound.cpp Ship.cpp Board.cpp Player.cpp Game.cpp irrKlang/lib/Win32-gcc/libirrKlang.a"
**Linux** - "g++ main.cpp -m32 Sound.cpp Board.cpp Ship.cpp Player.cpp Game.cpp libIrrKlang.so -pthread"
**NOTE:** For compiling on 64-bit linux, you must use the -m32 switch and have the following libraries installed:
{ g++-multilib, ia32-libs, lib32gcc1, libc6-dev-i386, ia32-libs }
You must also move libIrrKlang.so to **/usr/lib** AND-OR **/usr/local/lib.**
**Command to get completely set up in Linux x64 environment:**
From /src/ file of repository, type:
sudo apt-get install g++-multilib && sudo apt-get install ia32-libs && sudo apt-get install lib32gcc1 && sudo apt-get install libc6-dev-i386 && sudo cp libIrrKlang.so /usr/lib && sudo cp libIrrKlang.so /usr/local/lib
...and press enter.