Fetching contributors…
Cannot retrieve contributors at this time
52 lines (40 sloc) 1.51 KB

Installing on Mac OS X

See video walkthrough to follow along. Thanks to Brian Fleischman for video and Derrick McMillen for initial instructions.

  1. Open a command line to the location you'd like to install Space Battle.

  2. Clone the repository, this should create a new 'SpaceBattleArena' folder.

git clone
  1. Navigate to the Server Directory SBA_Serv
cd SpaceBattleArena
cd SBA_Serv
  1. Install Xcode command line tools
xcode-select --install
  1. Install Homebrew (aka brew)
ruby -e "$(curl -fsSL"
  1. Install libraries needed for pygame using brew
brew cask install xquartz
brew install python
brew linkapps python
brew install mercurial
brew install sdl sdl_image sdl_ttf portmidi libogg libvorbis
brew install sdl_mixer --with-libvorbis
  1. Install SpaceBattleArena requirements using pip
pip install -r requirements.txt
  1. Start SpaceBattleArena

Find more information about configuring and running the server on the main site.

Just add configuration files to the end of the 'python' command instead of the 'SBA_Serv' shown in the examples.