Cosmic Encounter Generator
Cosmic Encounter is me and my best friends favorite board game. Each player gets one or multiple aliens species, which all each has a special power that will change the rules of the game, to try to capture all planets in the universe.
The aliens are given out at random, no one can just pick an alien out of the pile. There is also several special events that will be fired once in a while, requiring a player to get a new alien mid-game.
For experienced players (like my friends and I), we are given 4 aliens at random and then we get to choose 2. This means we don't reveal what aliens we "are" until everyone is ready and has selected.
This game can has multiple expansions and therefore it has 165+ different alien powers you can play. The alien cards are very big, think almost an A5 piece of paper, so it's hard to shuffle them together.
In addition, since the expansions are in separate boxes, sorting through the pile of flare-cards and alien cards that were all shuffled together is not fun.
The main problem was that since we kept each expansion pile separated, it was hard to make the drawing of powers completely random.
The old version
I decided to create a generator, where a user can set settings like, number of players, number of aliens and flares, what expansions should be included and then it will select aliens for each player.
The new version
I decided to use Ruby on Rails for this project to create my own custom back-end. I also setup websockets so that now a registered user can setup a gamesession. Now someone can start a session that will create a unique id, so every player can go onto the website on their phone use the id to put in the same session. When in the game they get their own screen with their alien selection.
On the main screen where the game master was, shows which players have chosen and who is still selecting. When everyone has pressed ready, the mainscreen will transform to an overview of all the players and their selected aliens. That I usually airplay on the TV, so we all have an overview while we play.
The best part about having a back-end in the new version, is that we now can collect statistics. Now we can check player winrate, alien winrate, popular duos, how many shared wins each player have etc. We no longer have to fight about it ;)
Even though I'm done with most of the functionality/programming, the design is not complete yet, but this post will be updated soon with a link to the project and screenshot