Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Brain Party game ported to Harmattan

branch: master
Octocat-spinner-32 Content Add content data August 31, 2012
Octocat-spinner-32 debian
Octocat-spinner-32 resources Add artwork August 31, 2012
Octocat-spinner-32 BGObject.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 BGObject.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 BPGame.cpp Harmattan changes August 31, 2012
Octocat-spinner-32 BPGame.h Harmattan changes August 31, 2012
Octocat-spinner-32 BPList.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 BPPoint.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 BPPoint.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 COPYING Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 CREDITS Add artwork August 31, 2012
Octocat-spinner-32 Colour.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 Colour.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 Makefile Harmattan changes August 31, 2012
Octocat-spinner-32 MessageBox.cpp
Octocat-spinner-32 MessageBox.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 MiniGameContainer.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 Minigame.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 Minigame.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 README Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 SDLMain.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 SDLMain.m Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 SpriteFont.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 SpriteFont.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 TestResultContainer.h
Octocat-spinner-32 Texture.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 Texture.h Harmattan changes August 31, 2012
Octocat-spinner-32 WordList.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 balloonblaster.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 balloonblaster.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 bombhunt.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 bombhunt.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 bpsays.cpp
Octocat-spinner-32 bpsays.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 brainparty.desktop
Octocat-spinner-32 brainparty.png
Octocat-spinner-32 bubbletrouble.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 bubbletrouble.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 cardmatch.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 cardmatch.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 connex.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 connex.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 cupsnballs.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 cupsnballs.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 diceoff.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 diceoff.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 flashcounting.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 flashcounting.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 flashlight.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 flashlight.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 iqtest.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 iqtest.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 jewelflip.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 jewelflip.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 jeweljam.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 jeweljam.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 main.cpp Pause timer for time-based minigames on swipe September 08, 2012
Octocat-spinner-32 marbledrop.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 marbledrop.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 memoryblox.cpp
Octocat-spinner-32 memoryblox.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 memorybox.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 memorybox.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 memorymaths.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 memorymaths.h
Octocat-spinner-32 minesweep.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 minesweep.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 moonjump.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 moonjump.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 nextinline.cpp
Octocat-spinner-32 nextinline.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 numbersnake.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 numbersnake.h
Octocat-spinner-32 oddoneout.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 oddoneout.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 patchmatch.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 patchmatch.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 perfectpaths.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 perfectpaths.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 routefinder.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 routefinder.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 rps.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 rps.h
Octocat-spinner-32 scrambled.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 scrambled.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 setfinder.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 setfinder.h
Octocat-spinner-32 sharpshooter.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 sharpshooter.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 shortcircuitsudoku.cpp
Octocat-spinner-32 shortcircuitsudoku.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 shufflepuzzler.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 shufflepuzzler.h
Octocat-spinner-32 strangerdanger.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 strangerdanger.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 symboliclogic.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 symboliclogic.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 underthehat.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 underthehat.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 untangler.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 untangler.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 wordsmash.cpp Initial code import (0.5.91-2 from Fremantle) August 31, 2012
Octocat-spinner-32 wordsmash.h Initial code import (0.5.91-2 from Fremantle) August 31, 2012
README
  Brain Party
  ===========

    Brain Party is a puzzle-solving, brain-stretching game that comes with
    36 minigames designed to push your brain to its limits, testing memory,
    logic, mathematics, reactions and more.

    This game was written for Apple's iPhone, and you can buy it in the
    App Store for $0.99 - in fact, doing so helps support me a little!

    Because I used non-free music in the iPhone release, this version uses
    new music - see the CREDITS file for more information.

  
  Compiling from source
  =====================

    I haven't used any fancy tools, so all you need to do to build Brain Party
    is run "make" and give it a few minutes. If you have a multi-core CPU, try
    "make -j4" to get a speed boost.

    You will need the development libraries for SDL, SDL Mixer, SDL TTF, SDL GFX,
    SDL Image and OpenGL. Obviously you will also need a C++ compiler like G++.


  Version history
  ===============

     v0.1 - March 5th 2010
	- First release.


  Reading the source
  ==================

    Brain Party was originally written for Linux in C#, using Mono and SDL.NET. 
    It was then ported to Windows Mobile 5.0, which also uses C#, but has only
    the .NET Compact Framework. From there, it was ported to the Xbox 360 (and
    that port is still available through the Microsoft Indie Games store), which
    also uses C# and the .NET Compact Framework, plus the XNA Framework.

    From there, the game was ported to the iPhone, which meant rewriting it in
    Objective C++ and OpenGL. Some of the code was taken from the X360 version
    as it had been polished; other code was taken from the WinMo code, because
    it was already built for touchscreens.

    The Brain Party you have now descends from the iPhone build. All the code
    that was Objective C++ is now plain C++.

    The reason I'm telling you all this is because, if you look at the code, 
    you'll see it's packed with ideosyncrasies. That's because the ports I've 
    done were usually done in less than a week, so rather than rewriting
    everything from scratch I've usually just implemented shims that accomplish
    the same thing. In other places, I've sorely missed functionality that was
    available elsewhere, so I've re-implemented it myself.

    So, the advice is this: look at the code if you want to. But, whatever you
    do, don't learn from it - it's the dirtiest C++ you'll ever see.

    This will be rectified over time. Possibly.


  Contributing
  ============

    If you'd like to contribute to Brain Party, great! Get in touch with me at
    paul.hudson@gmail.com and we'll talk. Code, graphics, sound effects, music,
    etc are all welcome. If you spot any bugs, drop me a line with some sort of
    helpful error message - ie, what I have to do to reproduce the error - and
    I'll get on the case.


Something went wrong with that request. Please try again.