What it does
Humanity is a card game, similar to Cards Against Humanity or Apples to Apples, that you can play with your mobile device. It uses peer to peer wireless networking to easily discover people nearby and create a group to play together. It follows the standard Cards Against Humanity rules, and you play each turn-based game until someone receives 7 black cards and wins.
We wanted to create a mobile game that encourages you to play with friends in person and socialize. Most existing mobile games lead people to isolate themselves and aren't the most social. This game is designed to be played in person just like a card game, but just takes all the mess of physical cards out of the equation.
We also think it's very cool that with this game, you are able to be creative use or create your own card packs.
How we built it
The app was written using Xcode/iOS, and was written in Swift. The app communicates with a server running Node.JS, which mediates the games and keeps track of progress and scores.
Challenges we ran into
- Making the game creation process as simple and user friendly as possible. We decided to use wireless networking to discover games nearby, and then give out a game code for manual entry as well.
- Using wireless technology to find other players nearby was difficult to get working well, but we ended up getting it to work very smoothly using a combination of Bluetooth and WiFi.
- We came into this hackathon thinking we'd have a fourth developer, but ended up having to do it with just three.
- Keeping data in sync across all the game clients while the game is running is a difficult task, especially when connections can and will fail during the game.
Accomplishments that we're proud of
- Getting the game fully working before the hackathon was over.
What we learned
- We learned a lot about creating a multi-user game and keeping data in sync across all the clients.
- We had very little experience with Swift, and this project helped us learn the language a lot.
What's next for Humanity
In 36 hours, we were able to create a fully working game. After some more testing and tweaks, we hope to release to the App Store as soon as we can.